-
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?
-
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.
-
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.
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|