Featured FLA
» Author: Nitin Tikhe
» Title: Cart
» Description: This Animation Tut is a fun and useful for kids below 15 years. Watch the Flag, Doors, Stick and Horse movements.
» More by Nitin Tikhe
Featured Site
» Posted in the Flash Kit Links section
» Title: Banana Swimwear
» Description: This is a banana swim wear interactive catalog we designed and animated in Flash
Variable “update” will show us the difference between value in variable “click” and the current position of the mouse. A variable “click” will be acquired only once when button was pressed and as long as the button is pressed our variable will not change even if we drag the mouse. Variable update will change if we drag the mouse, because frame 2 will acquire position of mouse by GetProperty action, then will go to frame 3, that will send it back to frame 2 where the new position of the mouse will be read, and variable “click” (that was acquired when we pressed the button was not changed since then) will be deducted, so variable “update” will show only how many pixels the mouse was moved since button was pressed. In the same moment when mouse is pressed, update will be 0, moving to the right will have positive value, moving on the left will have negative value.