Using that method you can only define one method for the event.  Using
event listeners, any object can listen for events and capture them
without having to be tied into the event.

-- 
// Robert Rainwater

-- 
DynAPI Homepage: http://dynapi.sourceforge.net/
DynAPI Snapshots: http://dynapi.sourceforge.net/snapshot/


On Monday, February 26, 2001 8:57:47 PM Richard Bennett wrote:
> Ah yes,
> Why do eventlisteners get the preference then?
> 
> ----- Original Message -----
> From: "Michael Pemberton" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, February 27, 2001 2:04 AM
> Subject: Re: [Dynapi-Dev] My Latest
> 
> 
> > this can be dome with:
> >     button1.onClick=button2.onClick=button3.onClick=function() { ... };
> >
> > this is actually more economical than listeners.
> >
> > Richard Bennett wrote:
> >
> > > although if you have a lot of layers with a click event, it would be
> more
> > > economical to use one event listener for all of them.
> >
> > --
> > Michael Pemberton
> > [EMAIL PROTECTED]
> > ICQ: 12107010
> >
> >
> >
> >
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> > ____________________________________________________________
> > Get your domain name and domain-based e-mail from
> > Namezero.com. New!  Namezero Plus domains now available.
> > Find out more at: http://www.namezero.com
> >
> 
> 
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev



_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to