A method and apparatus facilitate the retirement of interactive
applications in a manner associated with an external event and a program
state of the interactive application. A broadcaster transmits an
interactive application that includes a plurality of retirement
instructions associated with external events and internal program states
of the interactive application. A broadcast receiver receives an
interactive application, stores the included retirement instructions, and
executes the interactive application concurrently with the display of an
associated television program. The broadcast receiver monitors the
broadcast signal for events indicating that the executing interactive
application is no longer appropriate for the current television program.
Upon detection of such an event, the broadcast receiver retrieves the
stored instructions, and retires the interactive application in a manner
appropriate for both the detected external event and the internal program
state of the interactive application, according to the stored
instructions.