View Full Version : Project help~~~~~~ IN HURRY
03-23-2005, 06:47 AM
how can i make the line which could growing by itself when i play the movie?
Thank you so much......
The easy way if your not up to speed on actionscript and using the drawing API would be to use a shape tween. Create a small dash on the first frame of a blank movie. Insert a keyframe some frames down the timeline. Create a shape tween. On the last frame of the shape tween, scale the line to the size you want. Test it. It should animate the line as if it were being drawn or growing. Another method is to use a keyframe animation approach. Draw your line in small increments over several keyframes to simulate the line being drawn. The last option is to use the Macromedia Flash drawing API in an onEnterFrame event. You can use a points array to determine where the line needs to draw to. This last method might be a little more complex than your looking for but it is useful to learn. You can also use the actionscript pane to learn about the methods of any object. Example, type
into the actionscript panel. Highlight it and click on the little book with a ? icon(Flash help manual). It will give you all of the available methods with a brief description. Most contain a code sample example of how to employ the method.
hope it helps
Powered by vBulletin™ Version 4.1.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.