Flash Animated Line Drawing...
- Started
- Last post
- 6 Responses
- felizfeliz0
make a circle(or anything) and animate it moving along your line drawing as you'd want the line to be drawn. save out the motion path as AS. then write some script to draw a line using the motion path data.
Or you could make the original drawing and circle's _visible = false, then use the the co-ordinates of the circle for the x,y position of your drawing script run on an enterFrame loop.
- the latter method would be easier to amend/adjust.felizfeliz
- Thanksjimv
- felizfeliz0
If using flash the mask method is too time consuming and you'll end up with 100's of layers for different its of masks.
The erase method is difficult to ease the line movement(you'd have to do it by hand the traditional way) and is a pain to amend.
The scripted way is the best.
- thatblokemike0
flash has a feature called shape hints if you use the mask method that will prove invaluable.
other option is to just have whole drawing and delete bits on each keyframe.. then reverse the keyframes.
- Thanks, but if you read the 1st post you will see I have addressed, both these possibilitysjimv
- fyoucher10
Shape tween lines! Just segment each line and do it piece by piece for curved areas. Shape tween works wonders with lines and shape hints, not like fills which are much harder to control. Forget the other method of erasing, that's a major pain if you want to edit portions of it later on. To do the pan effect, just nest the entire animation inside of a movieclip, and then animate the parent clip (switch the movieclip to 'graphic-play once' so you can see what's going on inside of the clip).