Constants & Events
:: Lessons :: Advance Lessons
Page 1 of 1
Constants & Events
[constants]
_x = x axis of an object
_y = y axis of an object
_xscale = objects x axis scaling
_yscale = objects y axis scaling
_rotation = objects angle / rotation (degrees)
_xmouse = (root) location of mouse in x axis
_ymouse = (root) location of mouse in y axis
_visible = boolean value, hides / show a movie clip
_alpha = movie clips alpha value
_root = main movie
Key = Keyboard object
Mouse = Mouse object
this = current movie clip
[frame]
onEnterFrame - triggers as long as that object is on the current frame
onLoad - triggers once, upon loading
onKeyDown - triggers when a key is pressed
onMouseMove - triggers when a mouse is moved
onMouseDown - triggers when a mouse is clicked
[movieclip]
onClipEvent - triggers events for movieclip symbols
[button]
on - triggers events for button symbols
_x = x axis of an object
_y = y axis of an object
_xscale = objects x axis scaling
_yscale = objects y axis scaling
_rotation = objects angle / rotation (degrees)
_xmouse = (root) location of mouse in x axis
_ymouse = (root) location of mouse in y axis
_visible = boolean value, hides / show a movie clip
_alpha = movie clips alpha value
_root = main movie
Key = Keyboard object
Mouse = Mouse object
this = current movie clip
[frame]
onEnterFrame - triggers as long as that object is on the current frame
onLoad - triggers once, upon loading
onKeyDown - triggers when a key is pressed
onMouseMove - triggers when a mouse is moved
onMouseDown - triggers when a mouse is clicked
[movieclip]
onClipEvent - triggers events for movieclip symbols
[button]
on - triggers events for button symbols
Wingedge- Admin
-
Number of posts : 77
Age : 40
Name : Sir Francis
Year Level : Instructor
Location : UC
Registration date : 2008-06-10
Credits
GP: 9999
:: Lessons :: Advance Lessons
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|