You are not logged in.

bulp

Intermediate

  • "bulp" started this thread

Posts: 390

Location: Malaysia

  • Send private message

1

Saturday, August 25th 2012, 10:18pm

i can't make this code works in HTML5.. in Flash ok...

hi.. id just can't make this code works in HTML5...

the layer...

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<layer name="skin_thumbs_hide"url="buttonUP.png"  crop="0|0|64|64"    
align="leftbottom"  x="77"   y="40"  scale="0.5" edge="bottomleft" width="65" 
height="65"  autoheight="" visible="false" rotate="180" scale="0.5" zorder="5" 
framewidth="64" frameheight="32" frame="0" lastframe="19" onloaded="" 

ondown="skin_buttonglow(get(name)); skin_showmap(false); 
skin_showthumbs(false); skin_thumbshide();"  onup="skin_buttonglow(null);"  />

<layer name="skin_map_hide"   url="buttonUP.png"  crop="0|0|64|64"    
align="leftbottom"  x="117"  y="40"  scale="0.5" edge="bottomleft" width="65"
height="65" autoheight="true" visible="false" rotate="180" scale="0.5" zorder="5"
framewidth="64" frameheight="32" frame="0" lastframe="19" onloaded="" 

ondown="skin_buttonglow(get(name)); skin_showmap(false); skin_showthumbs(false); 
skin_thumbshide(); skin_maphide();"  onup="skin_buttonglow(null);"  />


the action...

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
	<action name="skin_thumbshide">	
		set(layer[skin_btn_thumbs].enabled,true); 
		set(layer[skin_thumbs_hide].visible,false);
		set(layer[skin_btn_thumbs].alpha, 1);
		
	</action>
	
	<action name="skin_thumbsbtn">	
		set(layer[skin_btn_thumbs].enabled,false); 
		set(layer[skin_thumbs_hide].visible,true);
		set(layer[skin_btn_thumbs].alpha, 0.3);	
		
	</action>

	<action name="skin_maphide">	
		set(layer[skin_btn_map].enabled,true); 
		set(layer[skin_map_hide].visible,false);
		set(layer[skin_btn_map].alpha, 1);
		
	</action>
	
	<action name="skin_mapbtn">	
		set(layer[skin_btn_map].enabled,false); 
		set(layer[skin_map_hide].visible,true);
		set(layer[skin_btn_map].alpha, 0.3);	
		
	</action>	


its been a long time i didnt do krpano code.... maybe someone can help me...

regards,

Bulp

2

Wednesday, August 29th 2012, 9:17am

Hi,

what is the problem?
not working?
xml syntax error? (in your posted code a separation-blank between attributes is missing)

best regards,
Klaus