[Flashcoders] Listener objects vs event handler functions ...

2006-01-14 Thread Stephen Ford
If this is an example of the listener object approach: myObj = new Object(); myObj.onMouseDown = myFunction; function myFunction() { trace(tracing something); } Mouse.addListener(myObj);

Re: [Flashcoders] Listener objects vs event handler functions ...

2006-01-14 Thread stacey
Imagine you have an application that is like a contact address book. The user requests the information for a new contact and the database responds. Now you might want to have several items listening to a change in what contact has been selected - for example a text field that displays the name of