Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time in ActionScript / loading pics from txt file

Status
Not open for further replies.

elf21

Technical User
Feb 16, 2006
98
US
How do I set timings in ActionScript? I want a different picture to load every 5 seconds.

I have another queston: The filenames for these pictures (there are about 100) exist in a text file. Is there a way I can load them from there, rather than type in 100 filenames?

Thank you.
 
text file

&pic0=me.jpg;
&pic1=you.jpg;
&pic2=wednesday.jpg;
//and so on
&numPics =100;

for flash look at LoadVars and setInterval
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top