A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: preloading sound

  1. #1
    Junior Member
    Join Date
    Feb 2005
    Posts
    13

    preloading sound

    hello,

    ive used this tutorial to link up sounds to my website.

    http://www.flashkit.com/tutorials/Au...-824/index.php

    but running into problems when i set up a preloader.

    because all the sound files load into the cache before the preloader is activated. the browser has to stare at a blank screen for a while, then is flashes 100%, and runs .

    is there any solution to this problem>?

    thanks,
    jboom

  2. #2
    Senior Member
    Join Date
    Jan 2005
    Posts
    110
    You must have used attachSound(), which will load everything in the first frame even you have a preloader. So, why don't you just use Sound() object's loadSound() command to load it externally.

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    You can simply uncheck the linkage "export on the first frame" box (but leave the other one checked...) and drag instances of your sounds on stage, usually in unseen frames between your preloader frames and the actual starting frame of your movie...

    Or don't touch the linkage bits, and use a seperate new preloader only movie, which will load your present movie cleared of it's own preloader...

    This is an example...

    Links removed.
    Last edited by oldnewbie; 02-04-2005 at 04:49 PM.

  4. #4
    Junior Member
    Join Date
    Feb 2005
    Posts
    13
    merci!

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