Flash components Flash files Mouse Controlled

Mouse Bubbles

$1.00
By purchasing and downloading this license, you are entitled, as buyer, to use the product in ONE SINGLE NON- COMMERCIAL PROJECT - details
ID: 4 | Views: 4314 | Downloads: 3
Or

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 image for bubbles.
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!