PDA

View Full Version : Loading Music


Awesome Possum
05-22-2003, 04:49 PM
Just have a quick question,
What is the script to load a sound file when a certain action takes place (ie click a button). I figured out the new Sound (); command and the music works fine when you click the button but i dont want it to load it unless the button is clicked. Obviously this is because it makes the .swf file of my website a whole lot bigger. Thanks for the replies in advance.

fraggle two
05-23-2003, 07:25 AM
hi,

at the properties of the sound file in your library u can click export... and place a name as identifier and the url
in your code u can use that identifier to load the sound...
hope that helps

mike

CGTalk Moderation
01-15-2006, 05:00 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.