A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: HOW DO YOU LOAD AN EXTERNAL AUDIO FILE

  1. #1

    Arrow

    I made a page with flash, and also made a seoarate audio file which is a SWF file now. How can i load the audio sound in a different page.

    What code?

  2. #2
    Senior Member
    Join Date
    Mar 2001
    Posts
    428
    Well if you made the sound into an .swf then just use the load movie command:

    loadMovieNum("Filename.swf", 1);

    The "1" is the level you want to load your external .swf into.

  3. #3
    NerdInside's Avatar
    Join Date
    May 2001
    Location
    Penguin Island
    Posts
    3,439
    You will also have to change the SWF that has the sound to include the this script in the new Sound() script. i.e: new Sound(this);

    Also, you could just use loadSound() to load MP3's.

  4. #4
    Junior Member
    Join Date
    Jul 2002
    Posts
    25
    Hey i might use that lil trick but i kinda find it hard making the preloader with sound as 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