Packageispring.interaction
Classpublic class InteractionEvent
InheritanceInteractionEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Product Version : iSpring Kinetics 6.0.3
Runtime Versions : AIR 1.0, Flash Player 10.1

The InteractionEvent class represents an event that is dispatched by an object implementing the IInteraction interface.

See also

ispring.interaction.IInteraction


Public Methods
MethodDefined By
 
InteractionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor.
InteractionEvent
Public Constants
ConstantDefined By
CONTENT_LOADED : String = interactionContentLoaded
[static]
InteractionEvent
INIT : String = interactionInitialized
[static] The InteractionEvent.INIT constant defines the value of the type property of the event object for a interactionInitialized event.
InteractionEvent
Constructor Detail
InteractionEvent()Constructor
public function InteractionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Language Version : ActionScript 3.0
Product Version : iSpring Kinetics 6.0.3
Runtime Versions : AIR 1.0, Flash Player 10.1

Constructor.

Parameters
type:String — The event type; indicates the action that triggered the event.
 
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
 
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
Constant Detail
CONTENT_LOADEDConstant
public static const CONTENT_LOADED:String = interactionContentLoaded

INITConstant 
public static const INIT:String = interactionInitialized

Language Version : ActionScript 3.0
Product Version : iSpring Kinetics 6.0.3
Runtime Versions : AIR 1.0, Flash Player 10.1

The InteractionEvent.INIT constant defines the value of the type property of the event object for a interactionInitialized event.

The properties of the event object have the following values:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe Object that defines the event listener that handles the event. For example, if you use myButton.addEventListener() to register an event listener, myButton is the value of the currentTarget.
targetThe Object that dispatched the event; it is not always the Object listening for the event. Use the currentTarget property to always access the Object listening for the event.

See also