Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 04-23-2008, 12:58 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 62
Downloads: 0
Uploads: 0
Default loadPano errors...

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/:nTime()
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;pa no.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.
Reply With Quote
  #2  
Old 04-23-2008, 01:07 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 62
Downloads: 0
Uploads: 0
Default Update...Please help!

While I still get the errors, if I click Dismiss All, the pano goes black and then the new pano appears.

I had to add a question park in the loadPano command as follows:
loadPano(?panoName=images/cabin&panHome=0&tiltHome=0&pan=0&tilt=0,1000,fade) "

Not sure why the fade transition doesn't work.

Gotta fix the errors though.

Please help!!
Reply With Quote
  #3  
Old 04-23-2008, 06:08 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 62
Downloads: 0
Uploads: 0
Default Update...

Tested an my PC that doesn't have FLASH CS3 installed - and no errors... although the fade function isn't working for some reason.

The screen goes black and then the new pano opens suddenly.

Any idea on how to configure Flash CS3 to suppress AS3 errors in the browser?
Reply With Quote
  #4  
Old 04-23-2008, 07:18 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 62
Downloads: 0
Uploads: 0
Default Progress...

I've discovered that the 2nd pano does eventually load... but no transition.

Here's the error I'm getting:
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()

I'm using the standard command format from the documentation. Here's the line I call in the XML that's attached to an onclick result for one of my hotspots (called load_me):

load_me="pano.leash=free;loadPano(?panoName=images/cabin&panHome=-50&tiltHome=0&zoomHome=1&pan=0&tilt=0&zoom=1,,1000 ,fade)"

The new pano loads in the right pan/tilt/zoom position - just no transition and the error above.

Ideas? What am I doing wrong? Is it tied to the version of the flash player I'm using? Bugs?
Reply With Quote
  #5  
Old 04-23-2008, 08:16 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 62
Downloads: 0
Uploads: 0
Default One more thing...

I also notice after the first pano loads, that if I click somewhere on the screen (but not on the hotspot box), I get the following error as well:

ReferenceError: Error #1069: Property qualityController not found on CubePanorama and there is no default value.
at Hotspots/doPress()

Please help!
Reply With Quote
  #6  
Old 04-23-2008, 09:55 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: Berkeley, California, USA
Posts: 774
Downloads: 0
Uploads: 0
Send a message via AIM to cheathamlane
Default

Hey djsegler:

Your "fade" is actually working on the "tilt" function you have in there... so, your tilt is probably fading just fine.

For putting a fade on "loadPano" it is structured like:
Code:
loadPano([panorama], [time for transition effect], [transition effect])
So you'd end up with something like:
Code:
loadPano(?panoName=images/cabin,1000,fade)
So, maybe for your example, try:

Code:
loadPano(?panoName=images/cabin&panHome=-50&tiltHome=0&zoomHome=1&,1000 ,fade)
//notice the extra "&" in there
__________________
Patrick
http://cheathamlane.net
--
Tutorials: Embed Pano 101, Pano auto-presentation
Reply With Quote
  #7  
Old 04-23-2008, 10:25 PM
djsegler djsegler is offline
Member
 
Join Date: Apr 2008
Posts: 62
Downloads: 0
Uploads: 0
Default

I was using the wrong pano0.swf file. All seems to be fixed now.

Thanks for the tip on the extra & though. I wasn't able to adjust the fade speed, so it probably isn't taking it without the extra delimiter.

Thanks again!
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 08:25 AM.


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