Packagecom.whirled.game
Classpublic class SizeChangedEvent
InheritanceSizeChangedEvent Inheritance flash.events.Event

Dispatched when the size of the game area changes, for example as a result of the user resizing their browser window.



Public Properties
 PropertyDefined by
  size : Point
[read-only] Get the size of the game area, expressed as a Point (The width is the x value, the height is the y value).
SizeChangedEvent
Public Methods
 MethodDefined by
  
SizeChangedEvent(size:Point)
Constructor.
SizeChangedEvent
  
clone():Event
SizeChangedEvent
  
toString():String
SizeChangedEvent
Public Constants
 ConstantDefined by
  SIZE_CHANGED : String = "SizeChanged"
[static] The type of this event.
SizeChangedEvent
Property detail
sizeproperty
size:Point  [read-only]

Get the size of the game area, expressed as a Point (The width is the x value, the height is the y value).

Implementation
    public function get size():Point
Constructor detail
SizeChangedEvent()constructor
public function SizeChangedEvent(size:Point)

Constructor.

Parameters
size:Point
Method detail
clone()method
public override function clone():Event

Returns
Event
toString()method 
public override function toString():String

Returns
String
Constant detail
SIZE_CHANGEDconstant
public static const SIZE_CHANGED:String = "SizeChanged"

The type of this event.