|
|
 |
| Flash AS3 - How to Create a Motion Guide Programmatically |
 |
|
Adobe Flash CS is rich in its capabilities of creating animation. One of the things it has the capability to do is to create a motion along a random path called a motion guide.
There are many tutorials on how to create a motion guide using the flash tools but this tutorial will explain how to do it solely using actionscript.
The reason that I wrote this article is that I have found it easier (and cleaner) in the long run to use my own function to animate an object instead of the GUI tools.
The GUI tools are great when first learning and also in many situations but when doing a lot of animation causing the stage to get messy, sometimes it may be better to do it programatically.
This tutorial is for those who already have some Adobe Flash/Actionscript 3 programming experience.
You can download the .FLA file before proceeding and reference the tutorial for explanations. All code is in Frame 1.
To Download...Right click, Save Target As --> motionguide.fla
|
|
The goal of this tutorial is to be able to create a object to travel along a fixed path:
|
| |
|
|
| |
| Enter Feedback/Comment for this Article |
|
Home / Website Map /
Bookmark Page
/ Privacy Policy
Article Copyright © 2010 ATK Solutions, Inc. All Rights Reserved
|