oh i understand what you are doing is this: this.addEventListener("onScreenFaded ", this)
private function onScreenFaded (evtObj:Object):Void { } so if your user does this instance.onScreenFaded = function your code breaks. i would say don't use this in the event listener if this is the case, rather use a delegate. On 3/22/06, Johannes Nel <[EMAIL PROTECTED]> wrote: > > are you reffering to a hook? > like this? > create a function that is named like > public function thisHappens():Void > { > > } > and then the user of the component would go > instance.thisHappens = function() > { > ///some code > > } > > On 3/22/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > > > I tried that- but if they write non addEventListener() type of > > statements to > > catch our events it seems to override the dispatched event. > > > > On 3/22/06, John Giotta <[EMAIL PROTECTED] > wrote: > > > > > > Use EventDispatcher. > > > _______________________________________________ > > > 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 > > > > > > -- > j:pn > http://www.lennel.org > -- j:pn http://www.lennel.org _______________________________________________ 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