You need to send a different script function through the onclick event. so onclick="removeFlash();" will have to write the script for that, but any kind of ajax script for whatever library you have can replace a box with different content on click.
I had to take a break and work on something else. Now I'm back on it and I want to figure out what you are suggesting. I'm a little green on the coding side I need a bit more help with your suggestion. Is that function on the flash side [applied to my button in AS 2.0] or HTML side? If you have an example of a script that would do this I would appreciate it. Thanks.
I am simply replacing the box with content for a box without content making it look like it cleared.
if i leave "object" and "embed" in the JS, the flash swf stays on stage. The only problem is, the flash movie and its buttons stay live under the shadowbox. this causes refresh problems [and sound if applied to the buttons] that interferes with the quicktime playback in the shadowbox overlay. I'm trying to figure out a way to call up shadowbox from the flash swf so that the shadowbox plays over the swf without interference from the swf buttons and the movie beneath it. In simple terms, temporarily disabling the flash movie while the shadowbox plays and then returns to its live state when the shadowbox closes. I'm looking into the ahah script that trimidium suggested to see if that gives me a workaround. If you have any other suggestions, i'm all ears. thanks wizzud.
On the new version (3.0) the only thing I can find with those options is this - showOverlay:true,troubleElements:["select","object","embed","canvas"]} Removing object and embed causes the flash video to still be visible under SB. It's the audio I want to kill.
No each before it. Not sure if it's the same thing.