View Full Version : Hotspot: scaleX or scaleY -- no effect!
djsegler
04-23-2008, 09:01 PM
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?
cheathamlane
04-23-2008, 09:26 PM
Hi there:
do you have alink to an example? That could be very helpful.
djsegler
04-23-2008, 09:54 PM
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;pano.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.
djsegler
04-23-2008, 09:59 PM
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?
vBulletin® v3.7.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.