Unloading an External SWF

  • sethmac
  • Born
  • Born
  • sethmac
  • Posts: 2

Post 3+ Months Ago

I am making a frame work that holds external swfs and cycles through them when a button is clicked. The problem is each external swf has a sound object. How can I unload the video and keep the event sound from continuing to play. They visual elements go away but the sound continues to play. Please help!!
  • roarmeow
  • Professor
  • Professor
  • User avatar
  • Posts: 861
  • Loc: BKNY

Post 3+ Months Ago

depends on how you're loading it, but the simple answer is:
Code: [ Select ]
stopAllSounds();
  • sethmac
  • Born
  • Born
  • sethmac
  • Posts: 2

Post 3+ Months Ago

Yeah, I've tried that. I dont have the code with me to post but I can get it. I'll explain. I load the the external mp3 into a sound swf. The sound swf is then called by the individual screen swf. The screen swf is then loaded into the framework. I do it this way because all the information on the screen is loaded dynamically with XML. Why exactly does the audio continue to play when the movie has been unloaded?

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 4 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.