Table of Contents

10.8 Event Handler Lifespan

The lifespan of event handlers is tied to the life of the objects with which they are associated. When a clip or button is removed from the Stage, or when an XML or TextField object is deleted, any event handlers associated with those objects die with them. An object must be present on stage or in code for its handlers to remain active.


Table of Contents