chrismol
10-17-2005, 05:31 AM
I am looking for a way to simply delay the timeline on a frame for a certain amount of seconds or milliseconds. Similar to setTimeOut() function in javascript.
Is setInterval() the function to do this? If so, please provide some sample code.
I'm looking for this code because I've got a Flash movie with many layers and I want the ability to control the length of time a layer displays, separate from the timeline and the frames per second. It seems silly to control the time a layer displays simply by adding frames. It's inefficient and must add to file size.
Any help much appreciated.
C
Is setInterval() the function to do this? If so, please provide some sample code.
I'm looking for this code because I've got a Flash movie with many layers and I want the ability to control the length of time a layer displays, separate from the timeline and the frames per second. It seems silly to control the time a layer displays simply by adding frames. It's inefficient and must add to file size.
Any help much appreciated.
C