Packagecom.bourre.events
Classpublic class BooleanEvent
InheritanceBooleanEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

An event object which carry a boolean value.

See also

BasicEvent.html


Public Properties
 PropertyDefined by
 Inheritedtarget : Object
The source object of this event
BasicEvent
 Inheritedtype : String
The type of this event
BasicEvent
Protected Properties
 PropertyDefined by
 Inherited_oTarget : Object
The source object of this event, redefined to provide write access
BasicEvent
 Inherited_sType : String
The type of the event, redefined to provide write access
BasicEvent
Public Methods
 MethodDefined by
  
BooleanEvent(type:String, target:Object = null, bool:Boolean = false)
Creates a new BooleanEvent object.
BooleanEvent
  
clone():Event
Clone the event
BooleanEvent
  
getBoolean():Boolean
Returns the boolean value carried by this event.
BooleanEvent
 Inherited
getTarget():Object
Returns the current source of this event object.
BasicEvent
 Inherited
getType():String
Returns the type of this event, which generally correspond to the name of the called function on the listener.
BasicEvent
 Inherited
setTarget(oTarget:Object):void
Defines the new source object of this event.
BasicEvent
 Inherited
setType(en:String):void
Defines the new event type for this event object.
BasicEvent
 Inherited
toString():String
Returns the string representation of this instance.
BasicEvent
Constructor detail
BooleanEvent()constructor
public function BooleanEvent(type:String, target:Object = null, bool:Boolean = false)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new BooleanEvent object.

Parameters
type:String — Name of the event type
 
target:Object (default = null) — Target of this event
 
bool:Boolean (default = false) — Boolean value carried by this event
Method detail
clone()method
public override function clone():Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Clone the event

Returns
Event — a clone of the event
getBoolean()method 
public function getBoolean():Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the boolean value carried by this event.

Returns
Boolean — the boolean value carried by this event.