Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.

Cheers,
Kirupa

Results 1 to 6 of 6

Thread: [FMX] Delay Load Movie

  1. #1
    Digitalosophy
    n/a
    posts
    Guest

    [FMX] Delay Load Movie

    How can I tell Flash to wait 5 seconds before loading my movie without using frames in timeline?

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

  2. #2
    <-- !!!

    http://www.kirupaforum.com/forums/sh...threadid=32957

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

  3. #3
    Digitalosophy
    n/a
    posts
    Guest
    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

    Code:
    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

    anyone know why

  4. #4
    Digitalosophy
    n/a
    posts
    Guest
    Originally posted by kode
    <-- !!!

    http://www.kirupaforum.com/forums/sh...threadid=32957

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

    i didnt know what to search for !

    but thanks

    [edit] my code is the same as theirs and i still get that text appearing [/edit]
    Last edited by Digitalosophy; September 8th, 2003 at 12:04 AM.

  5. #5
    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

    anyone know why
    Haha - That's funny.

    May I take a look at your FLA?

  6. #6
    Lol, that happens to me a lot too 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.
    Wait, what?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012