A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: Is it possible to keep a movieclip from loading in on the first frame?

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    16

    Is it possible to keep a movieclip from loading in on the first frame?

    I've got a flash site with a lot of movie clips embeded into it, and it takes a really long time to initially load the site up. I've tried putting preloaders in front of the movie clips, to kind of "take some of the weight off" of the initial load, but I think I might be missing something, because the preloaders seem to just zip by, and all the loading time is still in the initial load. How can I make it so that those movie clips don't load until they are told to play?

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    If they are on layers, make sure they don't appear till after the preloader code, like frame 3 or later. If your loading them dynamically, then you have to uncheck Export in first frame in the Linkage, and put a copy somewhere off stage.

  3. #3
    Junior Member
    Join Date
    Apr 2004
    Posts
    16
    Do I need to tell the flash file specifically to not load these particular quicktime movieclips when it first loads?

  4. #4
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    Yeah. You should make sure they aren't being exported in the first frame. You should also make sure that they appear in a frame that is after the frame that the preloader is in.

  5. #5
    Junior Member
    Join Date
    Apr 2004
    Posts
    16
    How do I do that?

  6. #6
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    Right click on each of your items in your Library and choose Linkage. Make sure none of them have the "Export in first frame" option checked.

    Also, just have your preloader in frame 1, and then put the starting of the rest of the movie in a different frame.

  7. #7
    Junior Member
    Join Date
    Apr 2004
    Posts
    16
    Okay, thanks for this. I've gotten to the 'Linkage Proparties' dialog box, but it looks like the 'Export in first frame' checkbox is greyed out by default, unless I check the 'Export for runtime sharing' or 'Export for Actionscript' checkboxes. Which one should I click? I have MX 2004, if that matters.

  8. #8
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    If the "Export in first frame" checkbox is grayed out then you're all good. Just make sure your preloader is the only thing in the first frame of your movie.

  9. #9
    Junior Member
    Join Date
    Apr 2004
    Posts
    16
    Well, that's the way it's always been. It wasn't working that way. When I click on either the 'Export for Actionscript' or 'Export for runtime sharing' checkboxes, the 'Export in first frame' shows up as already checked on. I think I have to check one, so I can uncheck the 'Export in first frame' checkbox.

    But just in case I can't get this to work, do you know of any good preloader tutorials I can look at?

    And thanks for the help.

  10. #10
    Senior Member
    Join Date
    Apr 2004
    Location
    Missouri
    Posts
    384
    I'm not sure if the tutorials for preloaders are any good on this site or not, but go to the Tutorials link on FlashKit. Then do a search for "preloader".

  11. #11
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    This will explain preloaders, and you can get the fla.

    http://www.learningflashmx.com/flash..._tutorial.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center