Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
The Rect class exists only for its bindable properites.
height:Number
This property can be used as the source for data binding.
Implementation public function get height():Number
public function set height(value:Number):void
width:Number
This property can be used as the source for data binding.
Implementation public function get width():Number
public function set width(value:Number):void
x:Number
This property can be used as the source for data binding.
Implementation public function get x():Number
public function set x(value:Number):void
y:Number
This property can be used as the source for data binding.
Implementation public function get y():Number
public function set y(value:Number):void
public function Rect(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0)
Language Version : | ActionScript 3.0 |
Product Version : | Portfolio 10.0 |
Runtime Versions : | Flash Player 10.1, AIR 2.0 |
Constructor.
Parameters | x:Number (default = 0 ) — The x value
|
|
| y:Number (default = 0 ) — The y value
|
|
| width:Number (default = 0 ) — The width
|
|
| height:Number (default = 0 ) — The height
|
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Parameters
| type:String |
|
| listener:Function |
|
| useCapture:Boolean (default = false )
|
|
| priority:int (default = 0 )
|
|
| weakRef:Boolean (default = false )
|
public function dispatchEvent(event:Event):Boolean
Parameters
Returns public function hasEventListener(type:String):Boolean
Parameters
Returns public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Parameters
| type:String |
|
| listener:Function |
|
| useCapture:Boolean (default = false )
|
public function willTrigger(type:String):Boolean
Parameters
Returns
Mon Apr 25 2011, 05:54 PM -07:00