Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > Object > unwatch (Object.unwatch method) | |||
public unwatch(name:String) : Boolean
Removes a watchpoint that Object.watch() created. This method returns a value of true if the watchpoint is successfully removed, false otherwise.
Availability: ActionScript 1.0; Flash Player 6
name:String - A string; the name of the object property that should no longer be watched.
Boolean - A Boolean value: true if the watchpoint is successfully removed, false otherwise.
See the example for Object.watch().
watch (Object.watch method), addProperty (Object.addProperty method)
Version 8