Talk:Swfsnafu.as

From Organic Design
Jump to: navigation, search

I was hoping this code would just draw a box, and then I could maybe write a loop to draw it right across as an animation whenever there was a mouseclick. Unfortunately it is not quite displaying a rectangle :( - Jack 11:28, 8 Dec 2006 (NZDT)

Dunno what you're on about, maybe paste the code in here and describe what you're trying to do --Nad 11:34, 8 Dec 2006 (NZDT)
I'll start a new swf actually, with the specific intention on making the page automatically turn when it is clicked, i.e. irrespective of the position of the mouse. So I have to get it it draw the whole two-page layout first - Jack 11:43, 8 Dec 2006 (NZDT)

It's not a good way to just copy the whole maths function for each fold, you should change the existing function to take a parameter or two specifying the orientation the fold function should work to. --Nad 10:16, 7 Dec 2006 (NZDT)

You might find creating a second function simpler though, so maybe do that but when its working you can then use the difference between the two functions to make a single one which does those differences conditionally --Nad 10:18, 7 Dec 2006 (NZDT)
I'm happy to do that but I'm stuck on the maths, blundering around is not a good look. The diagram is great but I think I need to be (quickly) taken through the maths. What you up to this morning? :) - Jack 10:26, 7 Dec 2006 (NZDT)