Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2012, 03:30 PM
africano africano is offline
Member
 
Join Date: Jul 2008
Posts: 84
Downloads: 0
Uploads: 0
Default disable autorotator function - blur pano

Hi,

I use flashificator but I also hand code some aspects.

I have a button, which when pressed opens a swf element. All works fine.

But I want to disable the autorotator when this element is launched as well as blurring out the background.

Here is my code for the button:

--------------------------------------

<box
id="bannerbtn"
url="files/hotspotFiles/images/dashboard/movies.png"
orientation="sphere"
scaleable="0"
static="1"
cacheAsBitmap="0"
depth="1001"
distance="2.5"
staticX="-150"
staticY="-6"
alignY="-1"
salignY="0.5"
glowQuality="15.00"
glowColor="00FFFF00"

onOver="
d_onOver();
d_onOver_scale();
"
onOut="
d_onOut();
d_onOut_scale();
"

onClick="global.showBanner()"

onClick="showBanner()"
showBanner="closeBtn();banner.staticX=-500.00;banner.staticY=-300.00;banner.alpha=1"
closeBtn="close.visible=1"

/>

thanks
Reply With Quote
  #2  
Old 01-25-2012, 04:07 PM
uudu uudu is offline
Senior Member
 
Join Date: Apr 2008
Location: Tallinn, Estonia
Posts: 151
Downloads: 1
Uploads: 0
Default

onClick="global.showBanner(); external.autorotator.disabled+=1; pano.blur=20,300"
and add to close button ; external.autorotator.disabled+=0; pano.blur=0,300

Last edited by uudu; 01-25-2012 at 04:15 PM.
Reply With Quote
  #3  
Old 01-26-2012, 08:40 AM
Jean-Marc Paratte's Avatar
Jean-Marc Paratte Jean-Marc Paratte is offline
Junior Member
 
Join Date: Jul 2011
Location: Switzerland (French)
Posts: 15
Downloads: 3
Uploads: 0
Default

More correct and logical (Boolean) commands for autorotator are:

Disable autorotator:
external.autorotator.disabled=1

Enable autorotator:
external.autorotator.disabled=0

Toogle autorotator:
external.autorotator.disabled-=1

Comments:
1/ Autorotator v2.2 treats '-','+','*','/' compound operators with the same meaning 'toogle'.
2/ Autorotator v2.2 treats '1' value as 'disabled', any other values as 'enabled'.

jmP
Reply With Quote
  #4  
Old 01-26-2012, 01:02 PM
africano africano is offline
Member
 
Join Date: Jul 2008
Posts: 84
Downloads: 0
Uploads: 0
Default

thanks to both of you, managed to figure it out with your inputs!

thanks!
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 01:04 PM.


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