Packagecom.bourre.plugin
Classpublic class PluginEvent
InheritancePluginEvent Inheritance ValueObjectEvent Inheritance BasicEvent Inheritance flash.events.Event

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The PluginEvent class represents the event object passed to the event listener for Plugin events.

See also

Plugin


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_o : ValueObject
ValueObjectEvent
 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
  
PluginEvent(sType:String, target:Object = null, plugin:Plugin = null, valueObject:ValueObject = null)
Creates a new ConstructorEvent object.
PluginEvent
 Inherited
clone():Event
Clone the event
ValueObjectEvent
  
Returns the plugin object carried by this event.
PluginEvent
 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
Returns the value object carried by this event.
ValueObjectEvent
 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
Public Constants
 ConstantDefined by
  onInitPluginEVENT : String = "onInitPlugin"
[static] Defines the value of the type property of the event object for a onInitPlugin event.
PluginEvent
  onReleasePluginEVENT : String = "onReleasePlugin"
[static] Defines the value of the type property of the event object for a onReleasePlugin event.
PluginEvent
Constructor detail
PluginEvent()constructor
public function PluginEvent(sType:String, target:Object = null, plugin:Plugin = null, valueObject:ValueObject = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates a new ConstructorEvent object.

Parameters
sType:String — Name of the event type
 
target:Object (default = null) — Object which dispatch this event
 
plugin:Plugin (default = null) — Constructor object carried by this event
 
valueObject:ValueObject (default = null) — Plugin carried by this event
Method detail
getPlugin()method
public function getPlugin():Plugin

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns the plugin object carried by this event.

Returns
Plugin — The plugin value carried by this event.
Constant detail
onInitPluginEVENTconstant
public static const onInitPluginEVENT:String = "onInitPlugin"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onInitPlugin event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getPlugin() The plugin carried by this event
onReleasePluginEVENTconstant 
public static const onReleasePluginEVENT:String = "onReleasePlugin"

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Defines the value of the type property of the event object for a onReleasePlugin event.

The properties of the event object have the following values:

PropertyValue
type Dispatched event type
MethodValue
getPlugin() The plugin carried by this event