Final Exodus: Dark Reality
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Flash Stuff

Go down

Flash Stuff Empty Flash Stuff

Post by Darkwing Tue Jun 30, 2009 3:07 am

Well, this is for Quantum mainly, but others can use this. I will continually add to this as I can. Now, to create a list of flash codes is awkward, so I'll post the common ones over time.

onClipEvent handlers

MCs require the onClipEvent handler for the MC to do stuff, here are some of the basics:

onClipEvent (enterframe){
}


Allows a function that in effect "plays" using the current frame rate. ex:
onClipEvent (enterframe){
this._x += 5;
}

That allows the MC to move along the X axis at a positive direction at a speed of 5. The code this simply means the MC that the code is attached too.
Darkwing
Darkwing
Commander
Commander

Male Number of posts : 1081
Age : 34
Reputation : 3
Registration date : 2008-12-18

Back to top Go down

Back to top

- Similar topics

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