djsegler
04-23-2008, 12:58 PM
I'm following the method described in the tutorials for using loadPano (which also matches how several have described here in the forum)... but I keep getting an actionscript error window that pops up whenever I click the hotspot that activates the loadPano command...
Here's what's in the error box:
ReferenceError: Error #1069: Property qualityController not found on CubePanorama and there is no default value.
at Hotspots/panoCreated()
at Hotspots/newPano()
at PanoController/::initPanorama()
at PanoController/loadPanorama()
at Hotspots/loadPano()
at Hotspots/execute()
at Hotspots/executeFunction()
at Attributes/onDone()
at AttributeChanger/remove()
at AttributeChanger/::calc()
at AttributeChanger/::onTime()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
What am I doing wrong?
Here's my XML:
---------------------------
<?xml version = '1.0'?>
<panorama>
<parameters>
panoName = images/ramp
zoomHome = 1.0
zoomMin = 0
zoomMax = 2
panHome = 75
tiltHome = 0
friction=0.91
sensitivity=40
tiltHome=0
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText=
layer_2 = files/loadmeter.swf
layer_4 = files/hotspots.swf
<!-- layer_8 = files/menuFullscreen.swf -->
layer_6 = files/autorotator.swf
layer_8 = files/editor.swf
</parameters>
<autorotator>
speed = 0.5
interval = 30
pause = 2000
quality = low
</autorotator>
<hotspots>
<global
onStart="external.autorotator.disabled=1"
goUp="
pano.qualityStatic=low
saturation=0,300
contrast=.1,300
alpha=1,800
depth=30
static=1
scaleable=0
staticX=0
staticY=0
scale=0.9,400
distance=1
rotationX=0
rotationY=0
rotationZ=0
global.timer=1,1000,-,restoreQuality
"
goDown="
pano.qualityStatic=low
saturation=-0.5,700
alpha=0,500
depth=10
static=1
scaleable=0
scale=.25,300,easyOut
distance=1.5,600
rotationX=0,600
rotationY=0,600
rotationZ=0,600
global.timer=1,500,-,restoreQuality
"
restoreQuality="
pano.qualityStatic=best
external.autorotator.disabled=1
">
<pano leash="free"/>
<!-- View Button -->
<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=-4,400;pano.zoom=2,400;timer+=1,300,,rotate_me"
rotate_me="pano.pan=0,500;pano.tilt=-11,300;timer+=1,200,,zoom_me"
zoom_me="pano.zoom=1,800;timer+=1,300,,load_me"
load_me="pano.leash=free;loadPano(panoName=images/cabin&pan=0&tilt=0,1000,fade)" />
</global>
</hotspots>
</panorama>
------------------------------
Note that there's some left over junk in there from previous projects, but nothing harmful I don't think.
Also note that even though I have the editor.swf plugin set to load - it never loads. I'm not sure why.
Here's what's in the error box:
ReferenceError: Error #1069: Property qualityController not found on CubePanorama and there is no default value.
at Hotspots/panoCreated()
at Hotspots/newPano()
at PanoController/::initPanorama()
at PanoController/loadPanorama()
at Hotspots/loadPano()
at Hotspots/execute()
at Hotspots/executeFunction()
at Attributes/onDone()
at AttributeChanger/remove()
at AttributeChanger/::calc()
at AttributeChanger/::onTime()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
What am I doing wrong?
Here's my XML:
---------------------------
<?xml version = '1.0'?>
<panorama>
<parameters>
panoName = images/ramp
zoomHome = 1.0
zoomMin = 0
zoomMax = 2
panHome = 75
tiltHome = 0
friction=0.91
sensitivity=40
tiltHome=0
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText=
layer_2 = files/loadmeter.swf
layer_4 = files/hotspots.swf
<!-- layer_8 = files/menuFullscreen.swf -->
layer_6 = files/autorotator.swf
layer_8 = files/editor.swf
</parameters>
<autorotator>
speed = 0.5
interval = 30
pause = 2000
quality = low
</autorotator>
<hotspots>
<global
onStart="external.autorotator.disabled=1"
goUp="
pano.qualityStatic=low
saturation=0,300
contrast=.1,300
alpha=1,800
depth=30
static=1
scaleable=0
staticX=0
staticY=0
scale=0.9,400
distance=1
rotationX=0
rotationY=0
rotationZ=0
global.timer=1,1000,-,restoreQuality
"
goDown="
pano.qualityStatic=low
saturation=-0.5,700
alpha=0,500
depth=10
static=1
scaleable=0
scale=.25,300,easyOut
distance=1.5,600
rotationX=0,600
rotationY=0,600
rotationZ=0,600
global.timer=1,500,-,restoreQuality
"
restoreQuality="
pano.qualityStatic=best
external.autorotator.disabled=1
">
<pano leash="free"/>
<!-- View Button -->
<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=-4,400;pano.zoom=2,400;timer+=1,300,,rotate_me"
rotate_me="pano.pan=0,500;pano.tilt=-11,300;timer+=1,200,,zoom_me"
zoom_me="pano.zoom=1,800;timer+=1,300,,load_me"
load_me="pano.leash=free;loadPano(panoName=images/cabin&pan=0&tilt=0,1000,fade)" />
</global>
</hotspots>
</panorama>
------------------------------
Note that there's some left over junk in there from previous projects, but nothing harmful I don't think.
Also note that even though I have the editor.swf plugin set to load - it never loads. I'm not sure why.