| Package | com.bourre.plugin |
| Class | public class PluginEvent |
| Inheritance | PluginEvent ValueObjectEvent BasicEvent flash.events.Event |
| Player version: | Flash Player 9.0 |
| Language version: | ActionScript 3.0 |
See also
| Method | Defined by | ||
|---|---|---|---|
|
PluginEvent(sType:String, target:Object = null, plugin:Plugin = null, valueObject:ValueObject = null)
Creates a new
ConstructorEvent object. | PluginEvent | ||
![]() |
clone():Event
Clone the event
| ValueObjectEvent | |
|
Returns the plugin object carried by this event.
| PluginEvent | ||
![]() |
getTarget():Object
Returns the current source of this event object.
| BasicEvent | |
![]() |
getType():String
Returns the type of this event, which generally correspond
to the name of the called function on the listener.
| BasicEvent | |
![]() |
Returns the value object carried by this event.
| ValueObjectEvent | |
![]() |
setTarget(oTarget:Object):void
Defines the new source object of this event.
| BasicEvent | |
![]() |
setType(en:String):void
Defines the new event type for this event object.
| BasicEvent | |
![]() |
toString():String
Returns the string representation of this instance.
| BasicEvent | |
| Constant | Defined 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 | ||
| 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.
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
|
| 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.
ReturnsPlugin —
The plugin value carried by this event.
|
| onInitPluginEVENT | constant |
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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getPlugin()
| The plugin carried by this event |
| onReleasePluginEVENT | constant |
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:
| Property | Value |
|---|---|
type |
Dispatched event type |
| Method | Value |
getPlugin()
| The plugin carried by this event |