You are not logged in.

1

Monday, September 26th 2016, 1:37am

xml.content return null

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
<krpano onstart="trace(get(xml.content))">

  
   <preview type="grid(cube,16,16,512,0xCCCCCC,0xFFFFFF,0x999999);" details="16" />

   <layer name="bt1" type="container"  bgalpha="1" bgcolor="0x993322" align="center" width="100" height="20" x="-150" bgcapture="true" onclick="switch(width,100,50)" onhover="tween(bgcolor,0xCC66FF)" onout="tween(bgcolor,0x993322)" onover=""/>


   <layer name="bt2" type="container" bgalpha="1" bgcolor="0xDD3322" align="center" width="100" height="20" x="150" bgcapture="true" onclick="callwith(layer[bt1],onclick);" onhover="callwith(layer[bt1],onhover);" onout="callwith(layer[bt1],onout);"/>

   <layer name="bt3" type="container"  bgalpha="1" bgcolor="0xAA3322" align="center" width="100" height="20" x="300" bgcapture="true" onclick="callwith(layer[bt1],add(height,20));trace(get(xml.url))" />

   <plugin name="hotspot_pos_info"
        url="%SWFPATH%/plugins/textfield.swf"
        html=""
        css="font-family:Courier;"
        padding="8"
        align="lefttop" x="10" y="10"
        width="200"
        enabled="false"
        />	


</krpano>

This post has been edited 1 times, last edit by "tmhok" (Sep 26th 2016, 3:31pm)


Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Monday, September 26th 2016, 11:11am

Hi!

Try

Source code

1
<krpano onstart="trace(xml.content);">
Regards,

Alexey

3

Monday, September 26th 2016, 3:32pm

get xml.content