PDA

View Full Version : [FMX] Delay Load Movie



Digitalosophy
September 7th, 2003, 05:42 PM
How can I tell Flash to wait 5 seconds before loading my movie without using frames in timeline?



mybutton.onRelease = function(){
//wait 5 seconds then
loadMovie("blah","placeholder");
}


Thanks

kode
September 7th, 2003, 11:57 PM
http://www.kirupaforum.com/images/search_top.gif (http://www.kirupaforum.com/forums/search.php?s=) <-- !!!

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=32957

...And I'm sure you'd find dozens of threads like that one. :sigh:

Digitalosophy
September 7th, 2003, 11:58 PM
ok well i found some stuff on the boards that helped but now i have anotehr problem. i used this code to set my timer



function doneDelay(){
loadMovie("contact.swf","placeholder");
clearInterval(delay);
}
delay = setInterval(doneDelay, 1000);


I know nothing about intervals

code works but now the text

"function doneDelay(){
loadMovie("contact.swf","placeholder");
clearInterval(delay);
}
delay = setInterval(doneDelay, 1000);"

shows up in my movie :stunned:

anyone know why

Digitalosophy
September 8th, 2003, 12:01 AM
Originally posted by kode
http://www.kirupaforum.com/images/search_top.gif (http://www.kirupaforum.com/forums/search.php?s=) <-- !!!

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=32957

...And I'm sure you'd find dozens of threads like that one. :sigh:


i didnt know what to search for !

but thanks

my code is the same as theirs and i still get that text appearing

kode
September 8th, 2003, 12:07 AM
Originally posted by Digitalosophy
...

code works but now the text

"function doneDelay(){
loadMovie("contact.swf","placeholder");
clearInterval(delay);
}
delay = setInterval(doneDelay, 1000);"

shows up in my movie :stunned:

anyone know why
Haha - That's funny. :P

May I take a look at your FLA? :)

Voetsjoeba
September 8th, 2003, 02:03 PM
Lol, that happens to me a lot too :P When copying and pasting some code I saved in a textfile or from another FLA, the as window wasn't focused so it copied on stage.