Flash swf hide hisself
October 23, 2007 12:00 AM
Two ways you might try:getURL("javascript: swfFile.actionHide();"); getURL("document.getElementById("swfFile").actionHide();");Both of these assume that swfFile is the name you've given the animation. If you are using Lectora 2006 or below you have to find the id that travantis assigns it.If you are publishing to flash 8 or above using the getURL to execute a travantis javaScript call won't work. Some alternate ideas would be to have the button in flash just refresh the page - that would reset it to it's invisible state. If you are using Lect 2007 you could use the flash command to set a variable inside of the flash movie to set it's _visible state to true, and your button in the flash movie could set it's _visible state to false. That would take care of hiding and showing everythign. If you are interested in using the flash commands I might have some time later and can post an example.
Discussions have been disabled for this post