no you can use the same event, but then the handleing function need not be
named the same as the eventname. i think thast what you want to acheive but
am not certain i am 100% clear on that

On 3/22/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote:
>
> So would I want to use different events for my own housekeeping to avoid
> colliding with them using those events?
>
>
>
> On 3/22/06, Johannes Nel <[EMAIL PROTECTED]> wrote:
> >
> > 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
> >
> _______________________________________________
> 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
_______________________________________________
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

Reply via email to