Flash components Flash files Mouse Controlled

Sparkle Effect

$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: 48 | Views: 7365 | Downloads: 15
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 "star" object in library to any other image for sparkle.
Setting MouseObject.as:
private var min:Number = 1;//min count of objects
private var max:Number = 5;//max count of objects
private var minCoord:Number = 0;//min coordinates
private var maxCoord:Number = 15;//max coordinates
private var speedY:Number = 0;//speed of falling at y
private var speedX:Number = 0;//speed of falling at x
private var veloY:Number = 0.5*Math.random();//speedup movement at Y
private var veloX:Number = 0.3;//speedup movement at X
private var alfa:Number = 0.03;//speed of fadeout
Setting Main.as:
private var density:Number = 1;//time interval of creating objects

ASK Ask a question & Live a coment (Public)
morewebmaster727
webmaster727 purchased said
Posted on 2009 Apr 15
how do i install this on my website?

moreopinion
opinion author said
Posted on 2009 Apr 16
To webmaster727: if you want use it in your AS3 project then just add "MouseObject.as" to your "Classes" dir and use "main.as" in your project.
Also you can use it in html webpage via div tag solution

morewebmaster727
webmaster727 purchased said
Posted on 2009 Apr 16
right, i'm using html, and want this on one of my pages.. what code do i add to use this?

morekingmatt86
kingmatt86 purchased said
Posted on 2009 Aug 10
how do i use main.as in my project?


more

Do you have any comment or questions about opinion file?


Please register & login before you post!