I'm sure I'm just not quite coding the magic words but: I'm trying to get a pop-up plugin to close when there's a 'onviewchange' event.
My plugin is simply a .png that has a name=testwindow1 and a visible that's set to"true" when a hotspot is clicked.
To make the visible = "false" I try this:
then:
Code
<action name="checkH"> if ( (plugin[testwindow1].visible,true), set(plugin[testwindow1].visible,false) ); </action>
But the plugin doesn't respond. I've also tried putting the set(plugin[testwindow1].visible,false) inside a seperate action which I call from the if statement, but that's a no-go as well.
Any ideas out there? Thanks in advance, Craig.