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!

Sound Keeps Playing after StopPlay() 1

Status
Not open for further replies.

BrendanC

Programmer
Apr 18, 2001
4
US
I'm having a problem when trying to control the Flash browser plugin using JavaScript, I'm wondering if anyone has had the same problem.

Calling the StopPlay() method does indeed stop the animation from playing, however, any long sounds (either streamed sounds or event sounds, it doesn't seem to matter) will continue to play.

The same thing happens if you right-click on the plug-in and uncheck the "Play" option on the popup menu: the animation stops, but the audio keeps on going.
 
don't know a great deal about javascript and sound within Flash, but the action in Flash which would do the job is: stopAllSounds ();

dave
davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top