How to do this effect in ActionScript 2.0?
Hey guys, i have this example: http://www.开发者_JAVA百科fakedc.com/exemple/exemple.html
how i can make this in AS2.0???
i dont want the art, only programming, put your mouse over the circles and you will see the effect I want to do
You probably want to look at using a repulsion algorithm. The basic idea is that as you move the mouse, elements are measured to determine their linear distance to the mouse and then moved along the same angle away from the mouse. You can find an AS2 example in this forum post:
http://www.actionscript.org/forums/showthread.php3?t=72396
精彩评论