Also, Flash Math Creativity isn’t poorly written, it is a book for people who know and understand AS, but what to take it to another level and learn cool effects and such.
lol … very true. although to understand AS is relative. i understand a hell of a lot more than i did about AS 6 moths ago … and yet i’m still a newb to some but to others i’m l33t shrug guess it’ll always be that way.
The code basically plots duplications of a movieclip with the instance name line on a circular path. However the path is also dependant on the mouse position so the final plot can be oval in the x or y directions. Each newly plotted fuplicate is also individually colored using the color object. its alpha and x/y scale set according to a variable. There is a max of 70 duplications on the screen at any one time and the duplications are plotted on the fly creating quite complex animations.
Never give up, just try harder… here is a question though…
You have all these variables such as “curve”, “ydist”, and “radius”, but you never use them anywhere else in the code.
Also, the original x value is never assigned, so you are multiplying everything by x, but there is no x variable. The only timeyou define what x is, is in your if statement where you say if x>70, how can x>70 if there is no x? I could be wrong though.
i know curve gets used in exp3 so i’m assuming the other unused ones do as well.
look at what the fla does … you gotta give it a min … and its pretty small (the effect it makes) then go look at the link i gave you it’s the second from the right … called circling on that page … the two look nothing alike
as far as x … i think you’re right but it’s in the code … i copied word for word … so i dunno
lol … yours does the opposite of mine … mine stays mostly in the top left … yours goes down to the bottom right. i wish i could figure out how to get it to go the exact opposite of the cursor
check out what i did with the lil math exp now
stupid _visible property still not working but it’s ok b/c i made it white =)