I have a swf playing in a div tag. Using show/hide div I can successfully show/hide the div/swf, but the sound doesn't stop when the div (and movie) is hidden. Using the code suggested in another post I was able to stop the the swf, but I can't seem to start or show the div/swf again.
Change "DIV_ID" to the id of the div containing the flash movie.
When you want the movie to stop, simply run the function "stopFlash();"
to "reopen" or "restart" the Div/swf I tried the following:
y=''; -- I also tried 'block'
then from simple start text buttons I ran the function "startFlash();" or "stopFlash()";
stopFlash works, but startFlash doesn't
page examples are at:
(to start the video click "welcome from the president" to close click yellow "close" button. You'll see that close hides the swf but doesn't stop it.
swf starts automatically and can be stopped using the "stop" button (barely visible top left corner of screen) but can not be restarted using the "start" button. Also barely visible top left corner of screen.