Would you like to react to this message? Create an account in a few clicks or log in to continue.

Constants & Events

Go down

Constants & Events Empty Constants & Events

Post by Wingedge Tue Oct 14, 2008 2:47 am

[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
Wingedge
Wingedge
Admin
Admin

Male
Number of posts : 77
Age : 40
Name : Sir Francis
Year Level : Instructor
Location : UC
Registration date : 2008-06-10

Credits
GP: 9999

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum