Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The BrowserChangeEvent class represents event objects specific to
the BrowserManager.
public var lastURL:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The previous value of the url
property in the BrowserManager.
public var url:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The new value of the url
property in the BrowserManager.
public function BrowserChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null, lastURL:String = null)
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Parameters | type:String — The event type; indicates the action that caused 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.
|
|
| url:String (default = null ) — Current URL in the browser.
|
|
| lastURL:String (default = null ) — Previous URL in the browser.
|
public static const APPLICATION_URL_CHANGE:String = applicationURLChange
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The BrowserChangeEvent.APPLICATION_URL_CHANGE
constant defines the value of the
type
property of the event object for a applicationURLChange
event.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
cancelable | false |
currentTarget | The 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 . |
lastURL | The previous value of the BrowserManager's
url property. |
target | The 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. |
url | The new value of the BrowserManager's
url property. |
public static const BROWSER_URL_CHANGE:String = browserURLChange
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The BrowserChangeEvent.BROWSER_URL_CHANGE
constant defines the value of the
type
property of the event object for a browserURLChange
event.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
cancelable | false |
currentTarget | The 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 . |
lastURL | The previous value of the BrowserManager's
url property. |
target | The 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. |
url | The new value of the BrowserManager's
url property. |
public static const URL_CHANGE:String = urlChange
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The BrowserChangeEvent.URL_CHANGE
constant defines the value of the
type
property of the event object for a urlChange
event.
The properties of the event object have the following values:
Property | Value |
---|
bubbles | false |
cancelable | false |
currentTarget | The 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 . |
lastURL | The previous value of the BrowserManager's
url property. |
target | The 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. |
url | The new value of the BrowserManager's
url property. |
Mon Jul 9 2012, 07:18 PM -04:00