View Full Version : autorotator problem
jaaaab
12-27-2006, 09:36 PM
hi
i tried to make a panorama following the same instructions that this tutorial http://flashpanoramas.com/blog/2006/12/27/hotspot-example-review/
i noticed a problem when i tried to add autorotator.
it works perfectly on the first pano.
but when i clic on a hotspot, without reloading the xml param file, the autorotator starts on the next pano but stopped just a few seconds after.
what caused this stop?
jaaaab
12-27-2006, 09:56 PM
here is the error from the debugger:
TypeError: Error #1009: Il est impossible d'accйder а la propriйtй ou а la mйthode d'une rйfйrence d'objet nul.
at CubePanorama/redraw()
at Timeline0_8c9d7572033842b535368da99b0b7/doMoveStep()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()
Denis
12-28-2006, 12:40 AM
This is a conflict between Autorotator and Hotspots (if both are trying to control the panorama position). Will be fixed in the next version. You can use Hotspots native methods to rotate the panorama instead; make button with action:
onClick="change:0,pan,100000,10000000,regular;"
(CCW rotation)
or:
onClick="change:0,pan,-100000,10000000,regular;"
CW rotation.
:)
jaaaab
12-29-2006, 09:49 AM
well "autorotation" seems the user don't need to click a button to start rotating ;) hope you'll fix that soon...
jaaaab
12-29-2006, 01:18 PM
well your trick works with onStart function in hotspots xml file.
there just a little "jump" when the rotation starts: why?
and of course it stops after the first user panning, any way to restart it?
thanks
Denis
12-29-2006, 01:37 PM
1. Can't see any "jump". Will test it more...
2. I like if user can control rotation manually. Create static buttos right and left.
3. No problem using autorotation with openUrl().
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.