A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: swf loading problem

  1. #1
    "Insert stupid comment here"
    Join Date
    Sep 2003

    swf loading problem


    I have a flash movie where i load an external swf. The problem is that when i use a preloader for the swf i load, the main scene doesnt play, but if i cut out the preloader there is no problem i know of. What can i do to make the preloader work?

    The preloader is very simple, with 3 frames, in the third frame there is this code:

    if (_root.getBytesLoaded() == _root.getBytesTotal()) {
    nextScene ();
    } else {
    gotoAndPlay (1);


    Main movie: level 0
    Scenes: "Scene 1"

    loaded movie:
    level 1
    Scenes: Preloader and "Scene 1"

    Thx for taking your time reading this
    Last edited by Padawan; 10-27-2003 at 01:55 PM.

  2. #2
    Senior Member
    Join Date
    Jun 2003
    Don't use scenes with external loaded .swfs. Flash has a problem with them.

    Instead add the preloader into the first 2 frames of Scene 1 of the loaded .swf.

    Hope it helps.


  3. #3
    Senior Member random25's Avatar
    Join Date
    Apr 2002
    i had the same problem for a long time.
    if you give me your email address i will send you a fla with a preloader that will work with externaly loaded swf's.

    If you want to make an apple pie from scratch, you must first create the universe. Carl Sagan

  4. #4
    "Insert stupid comment here"
    Join Date
    Sep 2003
    Thanks for the help, BOTH of you!

    sure, ihpv01fsu@student.lu.se

    //take care

  5. #5
    Join Date
    Jul 2003
    I wouldnt mind a copy of that preloader as well if thats cool

    email add: kiranvic@lycos.co.uk


  6. #6

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