Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2008, 03:38 PM
ceeby's Avatar
ceeby ceeby is offline
Junior Member
 
Join Date: Apr 2008
Posts: 10
Downloads: 0
Uploads: 0
Default How to start/stop autorotator without using hotspots??

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

Last edited by ceeby; 04-28-2008 at 03:10 PM.
Reply With Quote
  #2  
Old 04-28-2008, 03:37 PM
ceeby's Avatar
ceeby ceeby is offline
Junior Member
 
Join Date: Apr 2008
Posts: 10
Downloads: 0
Uploads: 0
Default Ok let me put it another way...

I've got a button that's not a hotspot and I want to stop the autorotator with it. I've gotten to this button code, but I can't seem to get it to stop (or start back up for that matter).


function doStopRotate(e:Event){
panorama.pano.external.autorotator.disabled+=1;
}


Should be an easy oneliner. Any suggestions?

Thanks

ceeby
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:15 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.