Hi,
.wav files are usually imported into flash and placed on a timeline. The timeline will automatically loop unless told not to. Create a movieclip and give it an instance name of "mySound". Import your wav file onto that timeline. On the main timeline, create two buttons. Give them instance names of "myStart" and "myStop". Paste this code onto the first frame of the main timeline......
Code:
myStart.onRelease=function(){
mySound.play();
}
myStop.onRelease=function(){
mySound.stop();
}
A mind once stretched by a new idea never regains its original dimensions.
- Oliver Wendell Holmes
Bookmarks