PDA

View Full Version : hide the editor.swf in a pano


herwan
07-29-2010, 12:19 PM
hello

here is my problem i need to had the editor in my panos
but i need to hide it from the client

an invisible bouton will switch to on/off the editor

i've been doing this with the tommy plugin coordinate (see code below) and all works great
but it seem to not work with the editor plugin

any idea ?

erwan



<spot id="hide_coordinate" url="files/textbox.swf" align="TL" static="1" salign="BR" staticX="-25" staticY="-51"
alpha="0" mouseChildren="0" useHandCursor="0" visible="1"
leftmargin="5"
font="Comic Sans MS" size="12" color="#000000" bold="0"
bgcolor="FFFFFF" bordercolor="#FFFFFF"
onOver="alpha=0,600" onOut="alpha=0,600" onClick="allToggle()"
text="Plugin on/off"
allToggle="external.coordinates.visible=T"
/>


</global>

</hotspots>


<coordinates>
position=15:60
visible=0
</coordinates>

</panorama>

allSaints
07-29-2010, 12:48 PM
Hi erwan,

as this is an external plugin (as opposed to a hotspot), it probably doesn't listen to the command "visible=x". For that to work, the plugin has to parse the external parameter command and take action itself.

I don't know if there is another way to hide it, maybe in a layer below another plugin.

Tommy

herwan
07-29-2010, 12:57 PM
hello Tommy

for coordinates.swf it's ok and thats an external plugin too !?
why editor don't work ?

erwan

allSaints
07-29-2010, 01:42 PM
Because the coordinates.swf plugin is listening for the command "visible=x" and the editor plugin is probably not.

The code is simply different.

Tommy

herwan
07-29-2010, 03:12 PM
thanks a lot Tommy for the explanation !

thats not good for my project :-(

erwan

sachagriffin
07-29-2010, 09:03 PM
I'm curious as to why you would need the editor in your project...
If you need rapid development perhaps you can use asp or php or javascript to parse a variable on the address.
thanks a lot Tommy for the explanation !

thats not good for my project :-(

erwan

herwan
07-30-2010, 07:41 AM
the idea was to hide the editor and 10 or more hotspots in the pano to be abble after to link the pano with others

you need to see the project to understand
www.golfe360.com

but maybe the best solution is to do it on the computer and then change each xml files
anyway it's gonna be a big big work to link each pano

erwan