Never mind, having a thicko day M
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Mike Mountain > Sent: 28 September 2006 09:57 > To: Flashcoders mailing list > Subject: [Flashcoders] Why isn't my listener firing? > > [AS] > > import mx.transitions.Tween; > import mx.transitions.easing.*; > // > var transListener:Object = new Object(); > transListener.allTransitionsInDone = function(evt):Void { > // direction value of 0 > trace(evt.type+" triggered"); > }; > mc.addEventListener("allTransitionsInDone", transListener); > mx.transitions.TransitionManager.start(mc, > {type:mx.transitions.Zoom, direction:0, duration:1, > easing:mx.transitions.easing.Bounce.easeOut}); > > [/AS] > > I culled the above code form a couple of web sites from a > google search > - I'm trying to find out how to detect when a transisition > using the transition manager has finished - the code is > pretty much identical but it doesn't seem to fire off. > > It may be a case of "wood for the trees" but I can't see why > it isn't working. > > Anyone help? > > Cheers > > M > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com