Hi all ^^
I've Integrated the scrollthumb plugin, and have two problems ^^
Firstable it disables the combobox plugin,
and the other problem is that it's launching when event occur like loadpano O_o
Here's the code:
Code
<krpano version="1.0.8" logkey="false">
<!--************** Plugins et données KrPano **************************************************-->
<plugin name="data" firstPanoHasBeenPlayed="false" keep="true"/>
<include url="scroll.xml" />
<!--************** Ouvre le premier pano ******************************************************-->
<include url="ChateauPC2.xml"/>
<!--************** Liste des panoramas **********************************************************-->
<plugin name="combobox" parent="menutop" visible="true" url="ChateauPCdata/graphics/combobox.swf" keep="true" align="lefttop" x="120" y="30"/>
<action name="combobox:La Cuverie">loadpano(ChateauPC1.xml,NULL,NULL,BLEND(1));</action>
<action name="combobox:La Salle de Dégustation">loadpano(ChateauPC0.xml,NULL,NULL,BLEND(1));</action>
<action name="combobox:Le Vignoble">loadpano(ChateauPC2.xml,NULL,NULL,BLEND(1));</action>
<!--************** Action du bouton vin **************************************************-->
<plugin name="vin" url="ChateauPCdata/graphics/hover.png" align="righttop" onclickA="set(plugin[scroll].visible, true); set(onclick, onclickB() );" onclickB="set(plugin[scroll].visible, false); set(onclick, onclickA() );" onclick="onclickA();" scale="1" alpha="0" keep="true" onhover="tween(alpha,0.6);" onout="tween(alpha,0);" x="264" y="67"/>
</krpano>
Alles anzeigen
And the scroll.xml:
Code
<krpano version="1.0.8" logkey="false">
<plugin name="scroll" url="thumbs/scroll.png" align="center" blendmode="normal" visible="false" zorder="200" />
<plugin name="thumbnails"
parent="scroll"
url="as3Thumbsforkrpano.swf?TheXML=gallery1.xml"
keep="true"
align="center"
zorder="800"
visible="true"
capture="false"
/>
<action name="1996">
</action>
<action name="1997">
</action>
</krpano>
Alles anzeigen
I don't understand why it squeezes the combobox
I use the plugin "scroll" to contain the thumbnails plugin, when I click on the "vin" plugin everythings works perfectly,
but when I load another pano (with an hotspot for example), it shows the "thumbnails" plugin and the button "vin" doesn't work anymore ^^
Does someone has an idea?
Thanks in advance