Package | impression.events |
Class | public class LocationChangeRequestEvent |
Inheritance | LocationChangeRequestEvent ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
destination : LocationData [read-only]
The location to change to. | LocationChangeRequestEvent | ||
requestType : String [read-only]
The type of change request. | LocationChangeRequestEvent | ||
![]() | sb : Storyboard [read-only]
The Storyboard object assigned to the target. | StoryboardEvent |
Method | Defined By | ||
---|---|---|---|
LocationChangeRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, destination:LocationData = null, requestType:String = null)
Creates a new instance of a LocationChangeRequestEvent object. | LocationChangeRequestEvent | ||
clone():Event [override]
Duplicates an instance of the event object. | LocationChangeRequestEvent | ||
toString():String [override]
Returns a string containing all the properties of the LocationChangeRequestEvent object. | LocationChangeRequestEvent |
Constant | Defined By | ||
---|---|---|---|
![]() | COMPLETE : String = complete [static]
The StoryboardEvent.COMPLETE constant defines the value of the
type property of a complete event object. | StoryboardEvent | |
![]() | CONTENT_LOAD_BEGIN : String = contentLoadBegin [static]
The StoryboardEvent.CONTENT_LOAD_BEGIN constant defines the value of the
type property of a content load begin event object. | StoryboardEvent | |
![]() | CONTENT_LOAD_END : String = contentLoadEnd [static]
The StoryboardEvent.CONTENT_LOAD_END constant defines the value of the
type property of a content load end event object. | StoryboardEvent | |
![]() | INITIALIZE : String = initialize [static]
The StoryboardEvent.INITIALIZE constant defines the value of the
type property of a initialize event object. | StoryboardEvent | |
![]() | LOAD_COMPLETE : String = loadComplete [static]
The StoryboardEvent.LOAD_COMPLETE constant defines the value of the
type property of a load event object. | StoryboardEvent | |
![]() | LOAD_START : String = loadStart [static]
The StoryboardEvent.LOAD_START constant defines the value of the
type property of an load start event object. | StoryboardEvent | |
LOCATION_CHANGE_REQUEST : String = locationChangeRequest [static]
The LocationChangeRequestEvent.LOCATION_CHANGE_REQUEST constant defines the value of the
type property of a location change request event object. | LocationChangeRequestEvent | ||
![]() | UNLOAD : String = unload [static]
The StoryboardEvent.UNLOAD constant defines the value of the
type property of an unload event object. | StoryboardEvent |
destination | property |
destination:LocationData
[read-only] The location to change to.
public function get destination():LocationData
requestType | property |
requestType:String
[read-only]
The type of change request. When dispatched from an object defined in the Base Class Framework, this value will be a LocationChangeRequestTypes
constant value.
public function get requestType():String
See also
LocationChangeRequestEvent | () | Constructor |
public function LocationChangeRequestEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, sb:Storyboard = null, destination:LocationData = null, requestType:String = null)
Creates a new instance of a LocationChangeRequestEvent object.
Parameterstype:String — The type of the event. Event listeners can access this information through the inherited type property.
| |
bubbles:Boolean (default = false ) — Determines whether the event object participates in the bubbling phase of the event flow. Event listeners can access this information through the inheritied bubbles property.
| |
cancelable:Boolean (default = false ) — Determines whether the event object can be canceled. Event listeners can access this information through the inherited cancelable property.
| |
sb:Storyboard (default = null ) — The Storyboard object assigned to the target. Event listeners can access this information through the inherited sb property.
| |
destination:LocationData (default = null ) — The location to change to. Event listeners can access this information through the destination property.
| |
requestType:String (default = null ) — The type of change request. Event listeners can access this information through the requestType property.
|
clone | () | method |
override public function clone():Event
Duplicates an instance of the event object.
Returns a new LocationChangeRequestEvent object that is a copy of the original instance of the LocationChangeRequestEvent object.
You do not normally call clone()
; the EventDispatcher class calls it automatically when you redispatch
an event--that is, when you call dispatchEvent(event)
from a handler that is handling event
.
Event — A new LocationChangeRequestEvent object that is identical to the original.
|
toString | () | method |
override public function toString():String
Returns a string containing all the properties of the LocationChangeRequestEvent object. The string is in the following format:
[LocationChangeRequestEvent type=value bubbles=value cancelable=value eventPhase=value sb=value destination=value requestType=value]
String — A string containing all the properties of the LocationChangeRequestEvent object.
|
LOCATION_CHANGE_REQUEST | Constant |
public static const LOCATION_CHANGE_REQUEST:String = locationChangeRequest
The LocationChangeRequestEvent.LOCATION_CHANGE_REQUEST constant defines the value of the type property of a location change request event object. This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the Event object with an event listener. |
target | The object that raised the event. |
sb | The Storyboard object assigned to the target. |
destination | The location to change to. |
requestType |