doghouseJim
2009-03-27 07:13:57 UTC
'm building a web site that uses swf's as pages. The menu.swf has 5 buttons
one for each page. When I press a button it loads a page with addChildAt(page,
0); so that the menu is always a level above the currently loaded page. When
one of the pages open it plays a mp3 in a loop. The music keeps playing when
another page loads. The page that was playing the music was also on level 0 so
it's gone yet the music keeps playing. How do I make it so the music stops when
another page loads?
one for each page. When I press a button it loads a page with addChildAt(page,
0); so that the menu is always a level above the currently loaded page. When
one of the pages open it plays a mp3 in a loop. The music keeps playing when
another page loads. The page that was playing the music was also on level 0 so
it's gone yet the music keeps playing. How do I make it so the music stops when
another page loads?