At 9/5/02 06:36 PM, Phoenix_Guitarist wrote:
After posting my last Topic, I realized that I dont know how or where to Shove Action Scripts to get them to work. I dont even know what Scripts I can use. Can Anyone Tell me what to do? or give me some sort of webpage that will help me out with it?
actionscript goes on any of three different things:
1. a button,
when you put actions on a button, they are triggered when the viewer presses that button. buttons can be set so they perform there actions on not just a mouse click though... i mean things like when they're rolled over, dragged out of, and even when a key is pressed. buttons actions are best for things like point and click games, website interfaces, etc.
2. a frame,
actions on a frame are carried out when the movie reaches that frame. this is best for when you're making movies... games too.. and pretty much anything else.
3. a movieclip,
and these actions can be set to perform by a variety of things; they can run constantly (when set to Enter Frame), just once when the movieclip enters the scene (Load), when the mouse is moved (Mouse Move), when a key is pressed or released (Key Up/Key Down), and a bunch of others. actions on movieclips will definitely be most used in games.
but its really pretty basic. you gotta experiment. it all depends on when and how you want your actions to be performed.