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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

All sounds playing

Status
Not open for further replies.

essgee

Programmer
Aug 27, 2004
15
0
0
GB
Hi, I have a flash movie and on some frames there are sounds as part of movieclips.

Wheni use a back button (a simple gotoAndPlay) to go back to a frame with sound on it, i get all the sounds from the entire flash movie. It all works correctly if accessed by a forward button (another GotoAndPlay).

I am confused - can anyone help ?
 
How are you playing the sounds? It is best to control them via AS - then you can stop and start them as you want...

[conehead]
 
the sound sits on it's own layer within a movie clip.

would i be better calling the sound on the first frame of an actions layer...

 
when you press the back button i would suggest using:

Code:
stopAllSounds();

it stops all the sounds playing, then you can start them again as you wish!!

hope it helps!


Regards,

Martin

Gaming Help And Info:
 
Start and stop your sounds via ActionScript ... that gives you much grater control, you can start and stop them as you wish...

[conehead]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top