Flash components Flash files Mouse Controlled

Mouse Fall

ID: 5 | Views: 5058 | Downloads: 3 | Price: $ 1.00

moreopinion
Uploaded By: opinion Author
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

ASK Ask a question & Live a coment (Public)

more

Do you have any comment or questions about opinion file?


Please register & login before you post!

Start $1

        Flash files, Flash components

  Sell & Buy Flash

Buy or Sell, Start Now -

affiliate programe 10%

bonus system

bonus system

Stock Flash

- Royalty Free Stock Flash effects, Video, Audio

Login Password

Details Bookmark and Share

Uploaded: 07 August 2008

Opens With: Flash CS3 (9+)

Files Included: FLA, AS files

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