Packagecom.divillysausages.gameobjeditor.event
Classpublic class ToggleEvent
InheritanceToggleEvent Inheritance flash.events.Event

The event that we fire when we need to toggle a value



Public Properties
 PropertyDefined By
  value : Boolean = false
The value to toggle to
ToggleEvent
Public Methods
 MethodDefined By
  
ToggleEvent(type:String, value:Boolean, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new ToggleEvent
ToggleEvent
  
clone():Event
[override] Clones the event and returns a new copy
ToggleEvent
  
toString():String
[override] Returns the String version of the event
ToggleEvent
Property Detail
valueproperty
public var value:Boolean = false

The value to toggle to

Constructor Detail
ToggleEvent()Constructor
public function ToggleEvent(type:String, value:Boolean, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new ToggleEvent

Parameters
type:String — The type of the event
 
value:Boolean — The value to toggle to
 
bubbles:Boolean (default = false) — Whether the event bubbles or not
 
cancelable:Boolean (default = false) — Whether the event is cancelable or not
Method Detail
clone()method
override public function clone():Event

Clones the event and returns a new copy

Returns
Event — A new ToggleEvent object that's a clone of this one
toString()method 
override public function toString():String

Returns the String version of the event

Returns
String