Home Flash Mouse Controlled

Mouse Fall

ID: 5 | Views: 620 | Downloads: 0 | Price: $ 1.00

Uploaded By: opinion

This is simple as3 class. You can add "MouseObject.as" to your "Classes" dir and use "main.as" in your project.
You can change "shar" object in library to any other images or animation for leafs.
Setting MouseObject.as:
private var speedY:Number = 4;//speed ОY
private var speedX:Number = 7;//speed ОX
private var scaleMin:Number = 0.1;//min size of object
private var scaleMax:Number = 1;//max size of object
private var alfa:Number = 0.02;//speed of fadeout
obj.gotoAndStop(Math.round(Math.random()*5+1));//random frame(object variation)
Setting Main.as:
private var density:Number = 2;//time interval of creating objects


Would you like to comment or ask questions from opinion?

Please register & login before you post!

Start $1

        Flash Animation

  Sell & Buy Flash

Buy or Sell, Start Now -

affiliate programe 10%

bonus system

Stock Flash

- Royalty Free Stock Flash effects, Video, Audio

Login Password

Details

Uploaded: 07 August 2008

Opens With: Flash CS3 (9+)

Files Included: FLA, AS files

Keywords: mouse,  fall,  leaf,  effect,  fx,  cursor,  as3,  class,  

Related Files