Good day!
I have a combobox, which must to change language at the panorama. It's described at the file build.xml
ZitatAlles anzeigen...
<plugin name="comboboxlang" url="builddata/graphics/combobox.swf"
preload="true"
keep="true"
align="rightbottom"
x="10"
y="10"
width="55"
height="25"
rowcount="3">
<item name="ENGbox" caption="ENG" onClick="ENG"/>
<item name="ITbox" caption="IT" onClick="IT"/>
<item name="RUSbox" caption="RUS" onClick="RUS"/>
</plugin>
<action name="ENG" keep="true">
set(plugin[in].onhover, "showtext(Zoom in, navstyle)");
set(plugin[out].onhover, "showtext(Zoom out, navstyle)");
set(plugin[left].onhover, "showtext(Turn left, navstyle)");
set(plugin[right].onhover, "showtext(Turn right, navstyle)");
....
So, how to realize that the language, of hotspots at file build0.xml, will be changed depending of the combobox value.
And I have a combo box that lets you select the panorama which you want:
Zitat...
<plugin name="combobox" url="builddata/graphics/combobox.swf" preload="true" alturl="builddata/graphics/combobox.js" keep="true" align="righttop" x="10" y="10" rowcount="10">
<item name="combobox0" caption="Near Mc-Donalds" onClick="mainloadpano(build0.xml);"/>
<item name="combobox1" caption="Sagrestia entrance from the street" onClick="mainloadpano(build1.xml);"/>
<item name="combobox2" caption="Left side view" onClick="mainloadpano(build2.xml);"/>
</plugin> ...
How to change the value "caption" by language combobox?
Codes as:
Zitatset(plugin[combobox].combobox0, "caption='another text' ");
or
Zitatset(plugin[combobox].combobox0.caption, "another text");
not works