Hi guys,
I’m putting music for my flash website, I’m adding the audio using Actionscript as per the tutorial below:
This is my script assigned to a mc at the frame I want the music to start play:
onClipEvent (load) {
mySound = new Sound();
mySound.setVolume(_root.volume*2);
mySound.attachSound(“backgroundmusic”);
mySound.start(0,999);
}
with a stop(); on that frame.
the problem is that obviously flash keeps creating that sound over and over on top creating a chaos!
Is there anyway to trigger that sound only once!?
or how can I trigger it when it reaches a certain frame without using a clipEvent?
Please help since that the only thing keeping me from launching the website! :hurt:
thx.