Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-02-2003, 02:49 AM
Member
 
Join Date: Jun 2003
Posts: 39
Default Making a script pause

Is there an easy way to make a script wait a specified period of time before continuing?

JavaScript has 'setTimeout("functionName()",25)', does SWFKit have anything similar?

At the moment I'm using a loop method using the differance beween getSeconds().

Is there a better/simpler way?
Reply With Quote
  #2 (permalink)  
Old 10-02-2003, 01:54 PM
Senior Member
 
Join Date: Dec 2002
Posts: 2,015
Default Re:Making a script pause

Hi,

Only 2.0 can do this simpler. It provides a wait method and a getTickCount method.
Reply With Quote
  #3 (permalink)  
Old 10-02-2003, 06:10 PM
Member
 
Join Date: Jan 2003
Posts: 54
Default Re:Making a script pause

Quote:
Only 2.0 can do this simpler
...hum...Before this litt'Bab cam', man,here's what u can do:
.
(First, AVOID using any while loop statement in your code if you can't do another way, that's too much CPU burning....$*^@^^, whare's this fire smiley ???)
.
.
Instead, put a kina chrono within the on enterframe event in your SWF's MC.
that call a FFscipt regulary.
i read somewhere in the MX help that can be done now by a function.
.
.
seeya Dud'
Madcha
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr -
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:08 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.