Removes a listener object so it will no longer receive notifications for events.


First available in version 3.0 build 2039.

Not available in ActionScript 3.

Input Parameters:

listener - Object - The listener object for which you no longer want to receive notifications.

event - String - [Optional] - The name of the event for which you want to stop receiving notifications. If you don't specify this parameter, all events for the command object will be stopped. Valid values include: onError.

Output Parameters:

No output parameters.