This is simple as3 class. You can add "MouseObject.as" to your "Classes" dir and use "main.as" in your project. You can change "hint" object in library to any other animation for sleeping mouse. Setting MouseObject.as: private var time:Number = 2;//sleep time in seconds //this.alpha = 0;//uncomment this line for using fade in fx //this.alpha+=alfa;//uncomment this line for using fade in fx //this.alpha-=alfa*3;//uncomment this line for using fade in fx
Would you like to comment or ask questions from opinion?
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 "hint" object in library to any other animation for sleeping mouse.
Setting MouseObject.as:
private var time:Number = 2;//sleep time in seconds
//this.alpha = 0;//uncomment this line for using fade in fx
//this.alpha+=alfa;//uncomment this line for using fade in fx
//this.alpha-=alfa*3;//uncomment this line for using fade in fx