A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Preloader Problem

  1. #1
    Junior Member
    Join Date
    Sep 2002
    Posts
    5
    i have a music menu with 3 track buttons. each button is used to call in an external .swf file with a preloader and an mp3 on it. Whenever i click on a track button, the external swf file will load but the preloader won't display until the entire external swf file has been loaded. can anyone help me with this? thanks

  2. #2
    亲爱钰 slingsrat's Avatar
    Join Date
    Mar 2002
    Location
    Middle Earth
    Posts
    229
    I'm assuming that the external .swf's work properly when played independently right?

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    2,467
    Hi:

    If you're using the sound object and linkage:

    mySound = newSound();

    then the entire music file will be loaded in frame 1, before anything else.

    If this is the case, just put you music in the main timeline, and Flash will treat it as a frame-based preload.


    James
    He is risen!!!

  4. #4
    Junior Member
    Join Date
    Sep 2002
    Posts
    5
    my external swf file plays fine. it just seems like the whole swf is downloaded first which takes like 5-10 seconds, then the preloader will appear and shoot to 100% really quick and the music will start. i have the music on the main timeline if that helps any. thanks for your replys

  5. #5
    Junior Member
    Join Date
    Dec 2001
    Posts
    14
    I am having the same problem. I have separate movies being loaded into a layer within the main movie, and I cannot get the preloader to work for the movie that is being loaded. Can you get the information about the loaded movie (e.g. bytes loaded) from the main movie?

    TIA

    Prac

  6. #6
    Senior Member
    Join Date
    Jul 2001
    Posts
    2,467
    Hi guys:

    Just following the preloading instructions found here:

    http://board.flashkit.com/board/show...hreadid=376888

    This works for music swf's too.


    James
    He is risen!!!

  7. #7
    Junior Member
    Join Date
    Dec 2001
    Posts
    14
    jamescover,
    sorry dude, I tried the link you gave and it just sent me back to the Board main page. Any chance of getting that link again please?

    TIA

    prac
    cogito ergo sum

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