I am tryin to add sound to my flash site and its proving difficult.
I want to sound to loop but in my movie i have a ()stop function
So i need to do it with action script i want it to play automatically after it has all loaded does any1 know how to do it
on (release) {
mySound = new Sound(this);
mySound.attachSound("myMusic");
mySound.start(0, 99);
}
Now open your library, right click on the sound you want to load, choose “linkage…”. Select the checkbox that says “Export for Actionscript” then give it the name “myMusic” (without quotes).
Very interesting. I don’t know enough to know how to fix it.
I think I know why it doesn’t work though. I think it starts loading the song because it is in the library and it is loading the library beforehand. Just theory (me and my theories)
Anywho, you can try dynamically loading it into Flash…