well, I got it.
reference the under post:https://krpano.com/forum/wbb/inde…&threadID=12149
Posts by jigl
-
-
I have some image hotposts in picture pano, they have same style name.
Now I want to hide all these hotspot if enter in webVr mode, and show all of them if exit webVr mode.So how to filter or foreach there hotspots in xml file?
-
well, i get the point
in the videointerface.xml file,Code<!-- overwrite some settings from the webvr.xml for the skin integration --> <plugin name="WebVR" keep="true" devices="html5" mobilevr_support="true" mobilevr_fake_support="true" onavailable="removelayer(webvr_enterbutton); set(layer[skin_btn_vr].enabled,true); tween(layer[skin_btn_vr].alpha, 1.0); webvr_onavailable();" onentervr="webvr_onentervr(); webvr_setup();" vr_cursor="" />the vr_cursor is empty, it's overwritten!!
-
I want to make a pano video, and with some hotspots in the video. when I enter VR mode, there is no vr_cursor showing in the center of screen.
I seen this webVR example , when I select the pano video, there are vr_cursor and HOME hotspot, I can return to the home list;
but, in this pano video, when I enter VR mode, there is no vr_cursor in the screen,
I seen the webvr.xml is same, and no other settings for vr_cursor, but result display is different;
so, how to display the vr_cursor in pano video with VR mode
-
I create a hotspot with url as textfield.swf, and html text, but in VR mode, this hotspot disappeared,
if the hotspot is an image, it still appear in VR mode,
why? -
Thank a lot, it workes!

-
In each scene, I setted direction hotspots, now I want to dynamiclly add hotspot tip under the direction hotspot;
for example:Code<scene name="scene_1" title="Entrace" onstart="" thumburl="../panos/1.tiles/thumb.jpg" lat="29.03297222" lng="115.94229722" heading="208.0"> <view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <preview url="../panos/1.tiles/preview.jpg" /> <image> <cube url="../panos/1.tiles/pano_%s.jpg" /> <mobile> <cube url="../panos/1.tiles/mobile_%s.jpg" /> </mobile> </image> <hotspot name="spot1" style="skin_hotspotstyle" ath="-10" atv="22.536" linkedscene="scene_2" /> <hotspot name="spot3" style="skin_hotspotstyle" ath="20" atv="22.536" linkedscene="scene_3" /> </scene>use addhotsopt() can and custom hotsopt, but how can I add the custom hotspot to the scene_1, the hotspot doesn't have parent attribute
-
http://www.xavierspertini.com/360/batie-urfe/
I see a case inhttp:// http://www.kolor.com</a> , in the pano, there has a social hotspot in the rightbottom that can show a list of social share links, and there also have hotspots can show slideshows.
the social share links and the slideshows are added in the Html Dom, that means it's operated from krpanoswfobject.
so how can I call actions in the xml file to operate the outside html Dom.
-
great, got it, thanks a lot
-
<scene name='scene_01' title='pano_a' .....
<hotspot name='hs1' linkedscene='scene_01'/>now i click hotsopt to read the scene name---scene_01, and change the prefix 'scene_' to 'li_', i want got a string li_01;
my code is following:
the result should be the 'li_01';
but the true log result is 'li_num', doesn't get the number;when i use the following:
Codesubtxt(sce_num, get(linkedscene),6,2); //the sce_num is 01; txtadd(li_num,'li_',sce_num); trace(li_num); showlog()the li_num should be 'li_01';
but the true log result is 'li_num', still doesn't get the number;why?