|
-
Flash Genie
video delay on timeline
Question:
37MB video file embed in flash timeline and since we want to show text and hold movie to show different text, i use timer, setinternval and settimeout function
but it works on 1st option but timeline is not stoping on 2nd funcation
and it continues?
any idea how to hold or delay frame in flash when embed movie in it.
download fla from here
Actionscript Code:
stop(); /*setTimeout(plaza,2000);
function plaza() { gotoAndPlay("plaza"); } */ var myTimer:Timer = new Timer(5000); // Sets timer for 5 seconds myTimer.addEventListener(TimerEvent.TIMER, timerNextFrame); // Add the listener myTimer.start(); // Starts the timer function timerNextFrame(e:TimerEvent) { gotoAndPlay("plaza"); // Perform action, such as go to next frame }
Charag - 3D, Flash Games, Animations,
Website Development & More...
-
Senior Member
Add this line in the timerNextFrame function.
myTimer.removeEventListener(TimerEvent.TIMER, timerNextFrame);
- The right of the People to create Flash movies shall not be infringed. -
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|