sorry, that supposed to be*
_myClass_*.addEventLister("greeting",sayHello)
Latcho wrote:
Hi list,
IfI attach e new instance of a class to a
*var myClass*=new friendlyClass()
and then attach an eventlistener to it
classHello.*addEventLister*("greeting",sayHello)
now say that, after a while I want to overwrite the myClass variable
with a new and fresh instance of the same
*myClass*=new friendlyClass()
now my question: will the eventlistener still work or do I have to
redeclare it again ?
Thanks,
Stijn aka Latcho
_______________________________________________
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