Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Sound

Status
Not open for further replies.

TheSponge

Technical User
Jul 2, 2003
442
GB
I just cant seem to play a sound in Flash with a simple play button and stop button!!

The stop button works.

I put this code in the 1st frame:

mySound = new Sound();
mySound.attachSound("soundFile");

Then on the play button

mysound.play()

On the stop button

mysound.stop()

Seems simple enough to me! doesnt work though? the sound will stop, but wont play

Any help please

Thanks
 
Sorry guys,

My mistake, I didnt realise I had to use the linkage option for the sound..

Whoops
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top