Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2008, 10:01 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 67
Downloads: 0
Uploads: 0
Default Hotspot: scaleX or scaleY -- no effect!

In my <box> section for a given hotspot I have everything working correctly but when I try to use the scaleX or scaleY parameters, there is no effect on the size of the hotspot graphic. Why?

If I use the scale parameter for onOver events, it scales uniformly just fine.

Any ideas?
Reply With Quote
  #2  
Old 04-23-2008, 10:26 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: California, USA
Posts: 773
Downloads: 0
Uploads: 0
Default

Hi there:

do you have alink to an example? That could be very helpful.
__________________
Patrick
http://patrickcheatham.com
Reply With Quote
  #3  
Old 04-23-2008, 10:54 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 67
Downloads: 0
Uploads: 0
Default More details...

Here's the XML:

<box id="crosshair" linked="images/ramp" url="images/crosshair.png"
pan="63" tilt="-1" distance="2" orientation="sphere" rotationX="0" rotationY="0" rotationZ="0" depth="11" scaleX="1.5"
scaleY="1" alpha="0.5" glow="0"
onLoad="alpha=0"
onOver="alpha=.7,100; scale=1.3,600,elastic"
onOut="alpha=0,250; scale=1.0,600,elastic"
onClick="cabinFocus()"
cabinFocus="pano.qualityStatic=low;pano.pan_v=0;pa no.tilt_v=0;pano.zoom_v=0;pano.tilt=-2,400;pano.pan=62,1000;pano.zoom=3,1000;timer+=1,1 000,,load_me"
load_me="pano.leash=free;loadPano(?panoName=images/cabin&panHome=-50&tiltHome=0&zoomHome=1&pan=0&tilt=0&zoom=1)" />

The overall scale commands for onOver and onOut work great. The rest of the box parameters for pan, tilt, distance, rotation, etc work fine too.

scaleX and scaleY have no effect - no matter what I put in them.

Thanks for the help.
Reply With Quote
  #4  
Old 04-23-2008, 10:59 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 67
Downloads: 0
Uploads: 0
Default Misunderstanding...

OK - I think I have it...

scaleX and scaleY cannot be used in conjunction with scale since scale affects both scaleX and scaleY.

In my case, scale is taking precedence of scaleX and scaleY.

Am I correct?
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 07:32 PM.


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