Packageorg.wiiflash.events
Classpublic final class WiimoteEvent
InheritanceWiimoteEvent Inheritance flash.events.Event

WiiFlash dispatches WiimoteEvent objects when a change releated to a Wiimote object occured.



Public Methods
 MethodDefined by
  
WiimoteEvent(type:String)
Creates an event object that contains information about Wiimote events.
WiimoteEvent
Public Constants
 ConstantDefined by
  IR1_FOUND : String = "ir1Found"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 1 has been found.
WiimoteEvent
  IR1_LOST : String = "ir1Lost"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 1 got lost.
WiimoteEvent
  IR2_FOUND : String = "ir2Found"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 2 has been found.
WiimoteEvent
  IR2_LOST : String = "ir2Lost"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 2 got lost.
WiimoteEvent
  NUNCHUK_CONNECT : String = "nunchukConnect"
[static] Type of the event that is dispatched by a Wiimote object when a Nunchuk has been connected.
WiimoteEvent
  NUNCHUK_DISCONNECT : String = "nunchukDisconnect"
[static] Type of the event that is dispatched by a Wiimote object when a Nunchuk has been disconnected.
WiimoteEvent
  UPDATE : String = "update"
[static] Type of the update event that is dispatched by a Wiimote object.
WiimoteEvent
Constructor detail
WiimoteEvent()constructor
public function WiimoteEvent(type:String)

Creates an event object that contains information about Wiimote events.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property.
Constant detail
IR1_FOUNDconstant
public static const IR1_FOUND:String = "ir1Found"

Type of the event that is dispatched by a Wiimote object when IR sensor bar point 1 has been found.

IR1_LOSTconstant 
public static const IR1_LOST:String = "ir1Lost"

Type of the event that is dispatched by a Wiimote object when IR sensor bar point 1 got lost.

IR2_FOUNDconstant 
public static const IR2_FOUND:String = "ir2Found"

Type of the event that is dispatched by a Wiimote object when IR sensor bar point 2 has been found.

IR2_LOSTconstant 
public static const IR2_LOST:String = "ir2Lost"

Type of the event that is dispatched by a Wiimote object when IR sensor bar point 2 got lost.

NUNCHUK_CONNECTconstant 
public static const NUNCHUK_CONNECT:String = "nunchukConnect"

Type of the event that is dispatched by a Wiimote object when a Nunchuk has been connected.

NUNCHUK_DISCONNECTconstant 
public static const NUNCHUK_DISCONNECT:String = "nunchukDisconnect"

Type of the event that is dispatched by a Wiimote object when a Nunchuk has been disconnected.

UPDATEconstant 
public static const UPDATE:String = "update"

Type of the update event that is dispatched by a Wiimote object.