If I'm not gravely misstaken myself it goes like this: 'e' is simply an short for element, which means that it is the layer the listener is attached to.
the .setBubble(false) is when telling the listener to not generate event calls for the attached elements to act upon. ie a pause of the listening. this can be used when you may await some other listeners event to happen and don't want two listeners to interfer with eachother. (I belive there is a example on this in the core distro) hope I got the explaination right - somebody please tell me if i didn't :) Henrik Våglin [ [EMAIL PROTECTED] ] --- James Musick <[EMAIL PROTECTED]> skrev: > > This is probably really simple, and it's used all > over the place, but it's > stumping me right now.... > > For example in the examples on sourceforge > http://dynapi.sourceforge.net/doccenter/index.php?EventListeners > > myListener=new EventListener(myLayer) > myListener.onmouseover=function(e) { > target=e.getTarget() > target.setBgColor('#0000f0') > } > > What is the object e? > And where is getting the setTarget() method? > myListener1.onmousedown=function(e) > { > e.setBubble(false) > } > seems to be another common use. > > Thanks for an explanation... > > -J > > _________________________________________________________________ > Send and receive Hotmail on your mobile device: > http://mobile.msn.com > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Two, two, TWO treats in one. > http://thinkgeek.com/sf > _______________________________________________ > Dynapi-Help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/dynapi-help _____________________________________________________ Gratis e-mail resten av livet på www.yahoo.se/mail Busenkelt! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek PC Mods, Computing goodies, cases & more http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help