Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 08-25-2002, 02:31 AM   #1
reyno
Registered User
 
Join Date: Aug 2002
Location: NSW. Australia
Posts: 3
Default Simple line drawing (and erasing)

Please help.

I have been trying to randomly draw lines (I can do that using moveTo and lineTo) and then leaving them for a short period before having them fade away (tried reseting the linestyle to white and gradually fading the _alpha). Problem is it completes the fade before displaying so the line just disappears.

Any other ideas?
reyno is offline   Reply With Quote
Old 08-25-2002, 03:41 AM   #2
vosgien
member
 
Join Date: Dec 2001
Location: France
Posts: 923
Default

Hi,
have you thought of using getTimer method, so that the lines show for a fixed period of seconds and then start to fade.
Worth a try

Cheers

Vosgien
vosgien is offline   Reply With Quote
Old 08-25-2002, 03:52 AM   #3
reyno
Registered User
 
Join Date: Aug 2002
Location: NSW. Australia
Posts: 3
Default

Thanks Vosgien,

I had been using a loop, but that was casuing problems. Also it did not give me the kind of control I was hoping for.

Cheers.
reyno is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:18 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.