xml. swf unload not just visible=0

Q&A about the latest versions
Post Reply
heike_m
Posts: 4
Joined: Tue May 18, 2010 4:17 pm

hello pano community,

i just started my first pano with an xml file as an "operator".
i needed it because i'm embedding the pano in another swf file.

everything is working fine just one problem (so far :) )

when i load a hotspot contet swf via visible and then unload it via a close button i only found an xml tag that hides the swf but doesnt really unload it.
the problem is that the loaded content swf will PLAY just for the first time (because then its just invisible)


so is there another tag that really unloads the swf instead just hiding it?

heres the code:

Code: Select all

<panorama>
...
<hotspots>
    <global>
    <spot id="content_btn_01" static="0" pan="0" tilt="0" url="content_btn_01.swf" blockMouse="1"
	onClick="content_01.visible+=1;close_01.visible+=1."

//important part
<spot id="content_01" url="content_01.swf" static="1" visible="0" blockMouse="1" onClick="" onOver="" onOut=""/>
    <spot id="close_01" url="close.swf" static="1" alpha="0" staticX="165.3" staticY="-105.3" visible="0" blockMouse="1" onClick="content_01.visible=0;visible=0" onOver="" onOut=""/>

 </global>
</hotspots>
</panorama>
thx!
Post Reply