View Full Version : Access onTransitionStart and onTransition end via ActionScript.
chadu
03-09-2009, 07:22 PM
The XML has some parameters available in it that allow things to occur when the transitions start or end in the panorama... How can I listen to these events in Actionscript?
I'm using an embbedded pano player and I'd like to wire in some events and listeners that allow me to do things in the parent clip. I'm pretty sure I need to add some listeners to do this.
Any ideas?
chadu
03-11-2009, 03:13 PM
No response?
LepLep
03-11-2009, 11:29 PM
you can try to register your embedPano swf as a plugin (you should find about this on forum or at flashpanos.com) then call your function at transitionEnd
chadu
03-12-2009, 12:54 AM
LepLep, thanks for the response. What you suggest is not quite what I'm looking for...
Essentially, I want the parent of pano.swf (shell) to be able to be aware when the pano load complete/transition has ended by registering a listener for that event.
Make sense? Sorry if it's not clear enough.
LepLep
03-12-2009, 11:16 AM
due to extensive documentation which come with FPP its really hard to say where to hook eventListener...
but it also reason for our creativity with walkarounds ;)
i would would need that, i see two options:
fire function onTransitionEnd/onTransitionStart=function();
or use panoLoadWatcher function to fire function at start/end of loading
hope that helps
maybe others have some ideas?
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.