D
daveyand
Hey guys, have searced within this group and havent found an answer to
what i want to do.
Here is the problem
I have the a hovering div, within that div i have settings that people
can change, but for some reason there needs to be a smal flash
animation with a continual sound clip. When a user clicks close the
hovering div should be removed from the domtree thus removing the div
and the flash movie.
In FF this works fine.
In IE it also works, in that the div is deleted, but for somereason the
sound continues to play on the page. Even though the flash element
doesnt exist. Have done a document.getElementById(flashmovie) to
determine if its there.
I am removing the node from the tree using
document.body.removeChild(hoveringdiv); where hoveringdiv is the
element itself.
Now as you can imagine the continuous sound is an annoyance. How do i
stop flash playing, and hence remove the sound, or how do i mute the
flash. Is this possible in Javascript? I cant access the swf or
actionscript.
Also if this isnt possible can someone point me to where i can learn
about how IE handles sound within a webpage so i can see if there is
some pointers in there. Much appreciated.
Andy
what i want to do.
Here is the problem
I have the a hovering div, within that div i have settings that people
can change, but for some reason there needs to be a smal flash
animation with a continual sound clip. When a user clicks close the
hovering div should be removed from the domtree thus removing the div
and the flash movie.
In FF this works fine.
In IE it also works, in that the div is deleted, but for somereason the
sound continues to play on the page. Even though the flash element
doesnt exist. Have done a document.getElementById(flashmovie) to
determine if its there.
I am removing the node from the tree using
document.body.removeChild(hoveringdiv); where hoveringdiv is the
element itself.
Now as you can imagine the continuous sound is an annoyance. How do i
stop flash playing, and hence remove the sound, or how do i mute the
flash. Is this possible in Javascript? I cant access the swf or
actionscript.
Also if this isnt possible can someone point me to where i can learn
about how IE handles sound within a webpage so i can see if there is
some pointers in there. Much appreciated.
Andy