PDA

View Full Version : Augh?



NCz
05-27-2008, 04:45 PM
http://www.antiup.net/view/1599/

I've been looking for action script tutorials lately, and still am.

And I put together this short script to make these green dots bounce.




import mx.transitions.Tween;
import mx.transitions.easing.*;

new Tween(ball_mc,"_y",Bounce.easeOut,ball_mc._y,396,3,true);
new Tween(ball_mc,"_x",none.easeNone,ball_mc._x,300,3,true);

I just edited it for every ball.

mraznbuddy
05-27-2008, 06:14 PM
so this is what you were talking about. lol better than what i can do :P
i think i'll try to learn some too later

Omega
05-27-2008, 09:04 PM
That's pretty damn cool.

But then again, I can't AS for shit. Good job.

mint
05-28-2008, 04:45 PM
The only time I use AS is when I just copy+paste a code from a tut about AS. :C. I like what you got there.