-
Audio Player
I've created an audio player script the only problem is that it need the music to stop if the user leaves the frame which contains the player.
I'm sure this is pretty simple to do but I really don't have much of a clue when it comes to flash.
_root.mySound = new Sound();
_root.mySound.loadSound(music.mp3", true);
_root.mySound.stop();
function soundComplete() {
_root.soundPlaying = false;
}
_root.mySound.onSoundComplete = soundComplete;
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
|