A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: preloader

  1. #1
    Hoegaarden addict
    Join Date
    Nov 2002
    Location
    Montreal
    Posts
    89

    preloader

    Hi everybody,

    Yes another preloader problem !!!!

    I used this script on scene1 :

    ifFrameLoaded (main, 1)
    {
    main.gotoAndPlay(1)
    }

    It works well.

    But when I tried it on another page it doesn't work.

    I'm loading another swf with the same structure :
    2 scenes : scene1, with same script
    main, with my movieClip.

    I have a blank page for a while then my movieclip appear.

    Please help

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    ifFrameLoaded is deprecated syntax...

    What's the content of this other movie?

  3. #3
    Hoegaarden addict
    Join Date
    Nov 2002
    Location
    Montreal
    Posts
    89
    It's only a movieClip with a stop action.

    this movieClip calls other mc with "attachMovie"

  4. #4
    Hoegaarden addict
    Join Date
    Nov 2002
    Location
    Montreal
    Posts
    89
    I tried with this script but the preloader appear only 1 sec before the all thing is loaded

    if (_framesloaded<_totalframes) {
    gotoAndPlay (1);
    }

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Attached movie clips with linkage set to export on the first frame will prevent your preloader from displaying anything before it has completely downloaded before the first frame, where I guess you have your preloader.

    Workaround...
    A seperate new preloader only movie, that will load your present movie cleared of it's own present preloader...

    http://odin.prohosting.com/~oldnew/f...ng/preload.htm

    http://odin.prohosting.com/~oldnew/f...ng/preload.zip

    Or, uncheck the "export on the first frame" box (but leave the other one checked), and drag a copy of your movie clip off-stage, usually in unseen frames between your preloader and the actual first frame of your movie...

  6. #6
    Hoegaarden addict
    Join Date
    Nov 2002
    Location
    Montreal
    Posts
    89
    Thanks a lot,

    It works pretty well !!

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