/ Published in: ActionScript
simple as2 floating effect..
Expand |
Embed | Plain Text
mc.onEnterFrame = function() { var currentDate:Date = new Date(); mc._y = 100 + (Math.cos(currentDate.getTime() * 0.002) * 25); }
You need to login to post a comment.
