Search Tutorials
So you probably have a bunch of questions about my code. If I don't answer them, feel free to email me or look them up. First of all, about the onClipEvent handlers. What goes inside those parentheses is the specific handler : load, makes it execute only once, when the MC is first loaded; enterFrame makes it execute once every frame. Next, in case you ddin't know, x is the horizontal position and y is the vertical position. In Flash, (0,0) is the top left hand corner, so x increases from left to right and y increases from top to bottom. No negative values will be viewable on the screen. For more info on flash methods (aka paths) find an introductory tutorial to flash, I recommend the one that is built in. The code "random(num)" generates a "random" number in between 0 and num, exclusive. That is all the time I have for questions. Again, feel free to email me. Hope you found this useful! --Luke Also please check out my website and give me feedback! Thanks!
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|