Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help with music problem!!!

Status
Not open for further replies.

bubu

Programmer
Mar 3, 2002
463
RO
I want to tell me which is the optime way to add an 290kb wav file to my site ...wich is 350kb long ...Really big allready.

Regards,
dragos.jpg

 
In an earlier post, you said that you were interedtes in putting the song in another movie and using loadmovie. This would work well, as it would add no size to your current swf, and would only be loaded when/if needed. The way to do this is as follows:

Create a .swf with your song in it.

In your main movie, from which you will be calling the sound. place the following action on a frame (add the on (release) for a button)

loadmovie("moviename.swf","targetMC")

That's it!

If you are using MX, you are able to import mp3, and so do not need the rather large wav file.

Hope This Helps!! Lumstar

______________________________________
Keep On Coding!!
If my post helped you, please give me a star.
If your post helps me, I'll give you one!
scifi-alien-with-red-boots-DW.gif
 
I want to do it like this:
If the main movie is loaded before the music i want a "loading music..." "preloader" to appear on the page until the music is loaded....and for the music to be no button.

Regards,
dragos.jpg

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top