6 Replies Latest reply on Jun 18, 2009 5:52 AM by dzeikei

    Urgent: How to add event listeners to a null object?

    CDawsonChicago

      I have an object that is lazy loaded, and therefore starts out null.

       

      How can I add an event listener onto this null object, so that it fires whenever the object is instantiated?

       

      WHY does arrayCollection.addEventListener(CollectionEvent.COLLECTION_CHANGED, function) not work??

       

      Thanks!

      C