Posted By

centurion09 on 08/01/12


Tagged

floating effect as2


Versions (?)

AS2 Floating Effect


 / Published in: ActionScript
 

simple as2 floating effect..

  1. mc.onEnterFrame = function()
  2. {
  3. var currentDate:Date = new Date();
  4. mc._y = 100 + (Math.cos(currentDate.getTime() * 0.002) * 25);
  5. }

Report this snippet  

You need to login to post a comment.