You are not logged in.

1

Monday, May 9th 2011, 8:24pm

Combobox problem on hotspot

Hi I have a problem in combobox.

I have a 2 scene and 2 hotspot. I change the scene , I want to change combobox.

Ex:
Combobox on Sahne1 and Sahne2
Scene1 in hotspot1 click ı want to combobox name change the new name is Sahne2 but dont change :(

Combobox Code

<plugin name="combobox"
url="plugins/combobox.swf"
align="bottomright"
x="1"
y="43"
width="158"
keep="true"
onloaded="action(setupitems);();"
/>

<action name="setupitems">
removeall();
additem(Item 1, action(Sahne1) );
additem(Item 2, action(Sahne2) );
</action>

<action name="Sahne1">
plugin[combobox].selectitem(sahne1);
loadpano(1.xml,null,MERGE,BLEND(2)); );
</action>

<action name="Sahne2">
plugin[combobox].selectitem(sahne2);
loadpano(2.xml,null,MERGE,BLEND(2)); );
</action>

Hotspot Code

<hotspot name="hs1"
url="hotspot/hotspot_ani_white.swf"
keep="false"
ath="49.884235709652216" atv="-0.984391637848305"
zoom="false" distorted="false" details="8" flying="0"
width="69" height="69"
scale="1" scale9grid="" scalechildren="false" rotate="0"
rx="0" ry="0" rz="0"
edge="center" ox="" oy=""
crop="" ondowncrop="" onovercrop=""
visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true"
zorder="0"
alpha="1.00" blendmode="normal" effect="" smoothing="true"
refreshrate="auto"
onloaded=""
onover="set(autorotate.enabled,false)"
onhover=""
onout="set(autorotate.enabled,true)"
ondown=""
onup=""
onclick=" looktohotspot(hs1,auto,smooth(50,25,100)); action(Sahne2)); loadpano(2.xml, null, MERGE, BLEND(2));"
devices="all"
editor=""
maskchildren="false"
pixelheight="69"
pixelhittest="false"
pixelwidth="69"
/>

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

2

Monday, May 9th 2011, 9:32pm

wrong thread oops

VN2011

Professional

Posts: 1,336

Location: Duluth MN

  • Send private message

3

Monday, May 9th 2011, 9:34pm

onclick=" looktohotspot(hs1,auto,smooth(50,25,100)); action(Sahne2)); loadpano(2.xml, null, MERGE, BLEND(2));"

i think you only need 1 ) here. action(Sahne2); that might have broken it.

4

Monday, May 9th 2011, 9:43pm

onclick=" looktohotspot(hs1,auto,smooth(50,25,100)); action(Sahne2)); loadpano(2.xml, null, MERGE, BLEND(2));"

i think you only need 1 ) here. action(Sahne2); that might have broken it.
thank u but ı change scane , combobox name dont change

Could you tell us how to examples? please

5

Monday, May 9th 2011, 11:09pm

onclick=" looktohotspot(hs1,auto,smooth(50,25,100)); action(Sahne2)); loadpano(2.xml, null, MERGE, BLEND(2));"

i think you only need 1 ) here. action(Sahne2); that might have broken it.
thank u but ı change scane , combobox name dont change

Could you tell us how to examples? please
I solved the problem
HotSpot Code

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
  <hotspot name="hs1"
     url="hotspot/hotspot_ani_white.swf"
     keep="false"
     ath="148.00933594678185" atv="-1.1122796082351156"
     zoom="false" distorted="false" details="8" flying="0"
     width="69" height="69"
     scale="1" scale9grid="" scalechildren="false" rotate="0"
     rx="0" ry="0" rz="0"
     edge="center" ox="" oy=""
     crop="" ondowncrop="" onovercrop=""
     visible="true" enabled="true" usecontentsize="false" handcursor="true" capture="true" children="true"
      zorder="0"
     alpha="1.00" blendmode="normal" effect="" smoothing="true"
     refreshrate="auto"
      onloaded="" 
     onover="set(autorotate.enabled,false)"
     onhover=""
     onout="set(autorotate.enabled,true)"
     ondown=""
     onup=""
     onclick=" action(sahne1q); looktohotspot(hs1,auto,smooth(50,25,100));loadpano(1.xml, null, MERGE, BLEND(2)); "
     devices="all"
     editor=""
     maskchildren="false"
     pixelheight="69"
     pixelhittest="false"
     pixelwidth="69"
     />

Combobox Code

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<plugin name="combobox"
    	url="plugins/combobox.swf" 
    	align="bottomright" 
    	x="1" 
    	y="43" 
    	width="158"
    	keep="true"
    	onloaded="action(setupitems);();"
    	/>
 
			 <action name="setupitems">
	removeall();
	additem(Item 1, action(Sahne1) );
	additem(Item 2, action(Sahne2) );
</action>

<action name="sahne1">
	plugin[combobox].selectitem('Item 1');
	loadpano(1.xml,null,MERGE,BLEND(2)); );
</action>
<action name="sahne1q">
	plugin[combobox].selectitem('Item 1');
</action>

<action name="sahne2">
plugin[combobox].selectitem('Item 2');
</action>

Note: hotspot click change the combobox name. Hotspot And Combobox Contact
onclick=" action(sahne1q);
action name="sahne1q

Thank You VN2011

Similar threads