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
  BALANCEBOARD_CONNECT : String = "balanceBoardConnect"
[static] Type of the event that is dispatched by a Wiimote object when a Balance Board has been detected.
WiimoteEvent
  BALANCEBOARD_DISCONNECT : String = "balanceBoardDisconnect"
[static] Type of the event that is dispatched by a Wiimote object when a Balance Board is disconnected.
WiimoteEvent
  CONTROLLER_CONNECT : String = "classicControllerConnect"
[static] Type of the event that is dispatched by a Wiimote object when a Classic Controller has been connected.
WiimoteEvent
  CONTROLLER_DISCONNECT : String = "classicControllerDisconnect"
[static] Type of the event that is dispatched by a Wiimote object when a Classic Controller has been disconnected.
WiimoteEvent
  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
  IR3_FOUND : String = "ir3Found"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 3 has been found.
WiimoteEvent
  IR3_LOST : String = "ir3Lost"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 3 got lost.
WiimoteEvent
  IR4_FOUND : String = "ir4Found"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 4 has been found.
WiimoteEvent
  IR4_LOST : String = "ir4Lost"
[static] Type of the event that is dispatched by a Wiimote object when IR sensor bar point 4 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
BALANCEBOARD_CONNECTconstant
public static const BALANCEBOARD_CONNECT:String = "balanceBoardConnect"

Type of the event that is dispatched by a Wiimote object when a Balance Board has been detected.

BALANCEBOARD_DISCONNECTconstant 
public static const BALANCEBOARD_DISCONNECT:String = "balanceBoardDisconnect"

Type of the event that is dispatched by a Wiimote object when a Balance Board is disconnected.

CONTROLLER_CONNECTconstant 
public static const CONTROLLER_CONNECT:String = "classicControllerConnect"

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

CONTROLLER_DISCONNECTconstant 
public static const CONTROLLER_DISCONNECT:String = "classicControllerDisconnect"

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

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.

IR3_FOUNDconstant 
public static const IR3_FOUND:String = "ir3Found"

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

IR3_LOSTconstant 
public static const IR3_LOST:String = "ir3Lost"

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

IR4_FOUNDconstant 
public static const IR4_FOUND:String = "ir4Found"

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

IR4_LOSTconstant 
public static const IR4_LOST:String = "ir4Lost"

Type of the event that is dispatched by a Wiimote object when IR sensor bar point 4 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.