ceeby
04-27-2008, 02:38 PM
Hey all,
I just have to say I love the community on here and you all have produced some amazing things with the FPP :)
My issue is this.
I'm not using hotspots, but the variant:
"panorama.loadPanorama("panoName=images/1&zoom=1.2");"
to load my panos.
Well, I have a stop rotate button and I can't seem to get it to stop the autorotator. I know how to do it when hotspots are present, but what's the code when loading my panos like I am to stop the rotation when autorotator is present?
I'm wanting to stop the autorotator when the user clicks the fullscreen button.
The fullscreen code:
function fullscreenHandler(e:FullScreenEvent) {
if (e.fullScreen) {
//external.autorotator.speed=5;
navBtns.left_btn.visible = navBtns.right_btn.visible = navBtns.up_btn.visible = navBtns.down_btn.visible = true;
//panoBtns.visible = true;
border.visible = false;
panorama.setArea(0,0,stage.stageWidth,stage.stageH eight);
navBtns.width *= 1.2;
navBtns.height *= 1.2;
navBtns.x = 70;
navBtns.y = stage.stageHeight/2 - 20;
?? panorama.stop();
?? panorama.external.border.autorotator.disabled=1;
}
}
Thanks-
http://www.ceebysite.com/movietestflash
ceeby
I just have to say I love the community on here and you all have produced some amazing things with the FPP :)
My issue is this.
I'm not using hotspots, but the variant:
"panorama.loadPanorama("panoName=images/1&zoom=1.2");"
to load my panos.
Well, I have a stop rotate button and I can't seem to get it to stop the autorotator. I know how to do it when hotspots are present, but what's the code when loading my panos like I am to stop the rotation when autorotator is present?
I'm wanting to stop the autorotator when the user clicks the fullscreen button.
The fullscreen code:
function fullscreenHandler(e:FullScreenEvent) {
if (e.fullScreen) {
//external.autorotator.speed=5;
navBtns.left_btn.visible = navBtns.right_btn.visible = navBtns.up_btn.visible = navBtns.down_btn.visible = true;
//panoBtns.visible = true;
border.visible = false;
panorama.setArea(0,0,stage.stageWidth,stage.stageH eight);
navBtns.width *= 1.2;
navBtns.height *= 1.2;
navBtns.x = 70;
navBtns.y = stage.stageHeight/2 - 20;
?? panorama.stop();
?? panorama.external.border.autorotator.disabled=1;
}
}
Thanks-
http://www.ceebysite.com/movietestflash
ceeby