开发者

Erase a lineTo line in AS3

开发者 https://www.devze.com 2023-02-22 07:29 出处:网络
I have this file http://www.rebuild.co.za/temp/lineDraw.fla Basically lines 开发者_高级运维gets drawn where ever I tween the animation.arrow MovieClip. What I\'m wanting to do is be able to rewind the

I have this file http://www.rebuild.co.za/temp/lineDraw.fla Basically lines 开发者_高级运维gets drawn where ever I tween the animation.arrow MovieClip. What I'm wanting to do is be able to rewind the MovieClip and have the line erase its self step by step.

If any one knows of an easier way to do line animations please tell me.

I hope this makes sense.


Without looking at your flash file, you probably want each line to be drawn in a separate MovieClip which is then pushed into an array. When you reverse you can just pop the last MovieClip from the array and remove it from the stage.

0

精彩评论

暂无评论...
验证码 换一张
取 消