Hide a Flash object
June 10, 2010 12:00 AM
I have a button that brings up a Flash object when clicked.
I need a way to hide the Flash when clicked. I can't figure a way for that button to toggle. First clicked, it shows the Flash, when clicked again, it hides it.
So I tried to create a button in Flash to hide itself when clicked.
1) create a group (HTML name = og31036) with hide action in it, call it from Flash using ExternalInterface.call("runGroup_og31036");
2) create a button (HTML name = button31042) with initially visible off, the button hides the Flash obect; call it from Flash using ExternalInterface.call("action31042()");
Both didn't work.
Anything I didn't do right?
Thanks,
Discussions have been disabled for this post