I've run across an oddity. Maybe it's my code, or not.
I created a tour with all flat images (ordinary pictures).
When starting (button), each image (scene) will get zoomed in, then proceed to the next scene and repeat. But I am getting stuck after the 2nd image when trying to load the 3rd scene.
I get a WARNING: unknown action: scene_somescenename
INFO: krpano 1.18.4 (build 2015-04-23) INFO: HTML5/Desktop - Opera 31.0 (Chrome) - WebGL INFO: Registered to: Tony Baker INFO: im in the tween INFO: i made it to the action called nextscene INFO: im in the tween WARNING: unknown action: scene_856
Here is the code...
Code
<events name="scene_slide_events" keep="true" />
<layer name="btn_showstarter" type="container" keep="true" visible="true" align="center" width="50" height="50" zorder="20" bgcapture="true" bgalpha="1.0" bgcolor="0x000000" onclick="starttheshow();" />
<action name="starttheshow">
showlog();
set(events[scene_slide_events].onnewscene, zoomin() );
zoomin();
</action>
<action name="zoomin">
trace(im zoomin);
set(randomfov, 0);
set(rfov, 0);
mul(randomfov, random, 1);
if(randomfov GT .6,
if(randomfov LT .8,
trace(i made it between .6 and .8);
set(curscene, get(scene[get(xml.scene)].index));
trace('i just got the current scene and it is ', get(curscene));
delayedcall(2.0, tween(view.fov, get(randomfov), 4, easeInOutQuad, trace(im in the tween); setup_scenetoload(get(curscene))));
,
zoomin();
):
,
zoomin();
);
</action>
<action name="setup_scenetoload">
set(cs, %1);
trace('cs is ', get(cs));
add(cs, 1);
trace('cs is now ', get(cs));
if(cs GT scenecount, set(cs, 0));
trace('cs after if is ', get(cs));
set(scenetoload, get(scene[get(cs)].name));
trace('next scene name is ', get(scenetoload));
loadscene(get(scenetoload), null, MERGE, BLEND(1.5)));
</action>
Display More
Any ideas
Thanks, Tony