Doug, yes, this is in Flex 1.5.
I used your example and it worked great! Thanks! --- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > Flex 1.5? > > Instead of e.addEventListener(), use: > > e.listener = this; > > and then include an onEffectEnd method: > > public function onEffectEnd(event: Object) : Void { > mx.controls.Alert.show("Effect ended"); > } > > > Doug > > --- In flexcoders@yahoogroups.com, "gevgelija50" <gevgelija50@> > wrote: > > > > I have declared an effect actionscript: > > > > var e = new mx.effects.Resize(ReportContainer); > > e.addEventListener("resizeEndEffect",Delegate.create("eend")) > > > > e.widthFrom = 0; > > e.widthTo = 800; > > e.duration=500; > > e.playEffect(); > > > > > > > > I want to be able to set up a listener for this effect, namely for > > the END of the effect, then execute some logic. > > > > I tried the following: > > > > e.addEventListener("effectEnd",Delegate.create(this, doSomething)) > > but no luck > > > > > > > > please help! > > > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/