if(device.mobile,
div(bl,stagewidth,stageheight);
set(layer[scene_info_text].css,color:#fff; font-family:Arial; font-weight:500; font-size:50px; line-height:66px; text-indent:50px;);
if(device.iphone,
set(layer[homebg].height,prop);
set(layer[homebg].width,100%);
,
set(layer[homebg].height,100%);
set(layer[homebg].width,100%);
);
set(layer[homebg].y,0);
if(bl GT 1.77,
set(layer[homebg].url,https://bigscene.4dage.com/panorama/img/pc/homebg.jpg);
set(layer[infoimg].width,prop);
set(layer[infoimg].height,60%);
set(layer[fxmask].height,70%);
set(layer[fxmask].width,prop);
,
set(layer[homebg].url,https://bigscene.4dage.com/panorama/img/mobile/homebg.png);
set(layer[infoimg].width,80%);
set(layer[infoimg].height,prop);
set(layer[fxmask].height,prop);
set(layer[fxmask].width,80%);
);
,
div(bl,stagewidth,stageheight);
if(bl GT 1.77,
copy(layer[homebg].width,stagewidth);
set(layer[homebg].height,prop);
set(layer[fxmask].height,40%);
set(layer[fxmask].width,prop);
,
copy(layer[homebg].height,stageheight);
set(layer[homebg].width,prop);
set(layer[fxmask].height,40%);
set(layer[fxmask].width,prop);
);
);
trace(info);
txtadd(layer[scene_info].url,https://bigscene.4dage.com/panorama/img/cninfo/,get(scene[get(xml.scene)].gid),.png);
set(layer[scene_info_text].html,get(scene[get(xml.scene)].title));
set(layer[scene_info].height,0);
nav_control();
if(layer[scene_info].height == 0, set(layer[scene_info].height,prop), set(layer[scene_info].height,0))
txtadd(tooltipname, 'tooltip_', get(name));
addplugin(get(tooltipname));
txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
set(plugin[get(tooltipname)].url,'https://bigscene.4dage.com/panorama/plugins/textfield.swf');
set(plugin[get(tooltipname)].align,top);
set(plugin[get(tooltipname)].edge,bottom);
set(plugin[get(tooltipname)].x,0);
set(plugin[get(tooltipname)].y,0);
set(plugin[get(tooltipname)].width,auto);
set(plugin[get(tooltipname)].autoheight,true);
set(plugin[get(tooltipname)].background,true);
set(plugin[get(tooltipname)].backgroundcolor,0x000000);
set(plugin[get(tooltipname)].roundedge,8);
set(plugin[get(tooltipname)].backgroundalpha,0.7);
set(plugin[get(tooltipname)].border,true);
set(plugin[get(tooltipname)].glow,4);
set(plugin[get(tooltipname)].glowcolor,0xFFFFFF);
set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:28px; padding: 0 10px;');
set(plugin[get(tooltipname)].textshadow,1);
set(plugin[get(tooltipname)].textshadowrange,6.0);
set(plugin[get(tooltipname)].textshadowangle,90);
set(plugin[get(tooltipname)].html,get(title));
set(plugin[get(tooltipname)].enabled,false);
if(%1 == 1,
set(layer[fxmask].url,https://bigscene.4dage.com/panorama/images/alert_bg.png);
,
set(layer[fxmask].url,https://bigscene.4dage.com/panorama/images/alert_bg2.png);
);
openlayer(fxpano);
inc(layer[inimg].frame,1);
if(layer[inimg].frame LE layer[inimg].lastframe,
mul(ypos,layer[inimg].frame,layer[inimg].frameheight);
txtadd(layer[inimg].crop,'0|',get(ypos),'|',get(layer[inimg].framewidth),'|',get(layer[inimg].frameheight));
delayedcall(0.1, if(loaded, inpano_animate() ) );
,
set(layer[inimg].frame,0);
closelayer(inpano);
loadscene(get(linkedscene));skin_updatescroll();
);