jasonmac
03-18-2009, 06:12 PM
Hey All,
I've been struggling with this issue all day. The problem is when using an embed pano and a user clicks one item then another during a transition, the first pano ends up staying on screen frozen.
This problem can been seen even on Particks example for EmbedPano101 (http://flashpanos.com/tutorials/patrick/embedding-fpp-panoramas-another-flash-container#comment-800). I tried simply turning off transitions but the problem still happens even without transitions.
A thing to note is this isn't a loading issue (ie, the pano is still loading when switching to another) but rather a transition one.
WIth transitions set to none, there's an error being thrown as follows:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at TransitionEffect/fadeLoaderNone()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
This causes the first pano to freeze while the subsequent pano is loaded underneath.
With transitions on, I get this error in the same situation:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Hotspots/replacePano()
at TransitionEffect/remove()
at TransitionEffect/fadeLoaderAlpha()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
I can't stop users from clicking one thumbnail and then another in quick succession, nor can I really on blocking said clicks based on whether they are 100% loaded. The problem happens after the pano has loaded, during the transition from one to another when suddenly you try to load another before the transition has completed (and again this seems to be the case even with transitions turned off).
I noticed someone else had this same issue before (http://flashpanoramas.com/forum/showthread.php?t=1758&highlight=transitions) but there was no resolution.
Does anyone know how to get around this problem? Should I just force completely new loader instances of a pano on each load and forget using the hotspot transitions all together?
I've been struggling with this issue all day. The problem is when using an embed pano and a user clicks one item then another during a transition, the first pano ends up staying on screen frozen.
This problem can been seen even on Particks example for EmbedPano101 (http://flashpanos.com/tutorials/patrick/embedding-fpp-panoramas-another-flash-container#comment-800). I tried simply turning off transitions but the problem still happens even without transitions.
A thing to note is this isn't a loading issue (ie, the pano is still loading when switching to another) but rather a transition one.
WIth transitions set to none, there's an error being thrown as follows:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at TransitionEffect/fadeLoaderNone()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
This causes the first pano to freeze while the subsequent pano is loaded underneath.
With transitions on, I get this error in the same situation:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at Hotspots/replacePano()
at TransitionEffect/remove()
at TransitionEffect/fadeLoaderAlpha()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
I can't stop users from clicking one thumbnail and then another in quick succession, nor can I really on blocking said clicks based on whether they are 100% loaded. The problem happens after the pano has loaded, during the transition from one to another when suddenly you try to load another before the transition has completed (and again this seems to be the case even with transitions turned off).
I noticed someone else had this same issue before (http://flashpanoramas.com/forum/showthread.php?t=1758&highlight=transitions) but there was no resolution.
Does anyone know how to get around this problem? Should I just force completely new loader instances of a pano on each load and forget using the hotspot transitions all together?