|
|
Search Tutorials
Finaly the last section, this works just like the above described section except that it controls the vertical velocity instead of the horizontal. When setting the boundries for the horizontal and vertical, you need to take into account the fact that the boundry is take from the center of the mc, therefore you need to accound for this in your calculations. With all that said, all you need to do now is save and export your movie. As you can see, this is a simple example of ActionScripting, with a bit of modification you can get the circle to act as a ball and bounce along the bottom boundry rather than around the whole square. Hope this was of some use to anyone.
|
||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||
|