Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The ValueChangeEvent class replaces the PropertyChangeEvent as
the default event for property changes used in the databinding
subsystem.
public var newValue:Object
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The value of the property after it was changed.
public var oldValue:Object
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The value of the property before it was changed.
public var propertyName:String
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The name of the property.
public var source:Object
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The object that owns the property.
public function ValueChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, oldValue:Object = null, newValue:Object = null)
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
Constructor.
Parameters | type:String |
|
| bubbles:Boolean (default = false )
|
|
| cancelable:Boolean (default = false )
|
|
| oldValue:Object (default = null )
|
|
| newValue:Object (default = null )
|
public static function createUpdateEvent(source:Object, name:String, oldValue:Object, newValue:Object):ValueChangeEvent
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
A convenience method to create an instance of the ValueChangeEvent.
Parameters
| source:Object — The source of the object.
|
|
| name:String — The name of the event.
|
|
| oldValue:Object — The value before it was changed.
|
|
| newValue:Object — The value after it was changed.
|
Returnspublic static const VALUE_CHANGE:String = valueChange
Language Version : | ActionScript 3.0 |
Product Version : | FlexJS 0.0 |
Runtime Versions : | Flash Player 10.2, AIR 2.6 |
The default event type.
Mon Sep 5 2016, 07:19 AM -07:00