Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The AutoWatch class both adds and tracks change watchers and provides the ability to remove all watchers with a single call.
public function AutoWatch()
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor
public function addWatcher(watcher:ChangeWatcher):void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Adds a change watcher to the list that removeAllWatchers
will reference when called.
Parameters
| watcher:ChangeWatcher — The change watcher to add.
|
See also
ChangeWatcher
public function removeAllWatchers():void
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Remove all watchers that were added through addWatcher.
Mon Apr 25 2011, 05:54 PM -07:00