| Package | mx.events |
| Class | public class BrowserChangeEvent |
| Inheritance | BrowserChangeEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| lastURL : String
The previous value of the
url property in the BrowserManager. | BrowserChangeEvent | ||
| url : String
The new value of the
url property in the BrowserManager. | BrowserChangeEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
BrowserChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null, lastURL:String = null)
Constructor.
| BrowserChangeEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| APPLICATION_URL_CHANGE : String = "applicationURLChange" [static]
The
BrowserChangeEvent.APPLICATION_URL_CHANGE constant defines the value of the
type property of the event object for a applicationURLChange event. | BrowserChangeEvent | ||
| BROWSER_URL_CHANGE : String = "browserURLChange" [static]
The
BrowserChangeEvent.BROWSER_URL_CHANGE constant defines the value of the
type property of the event object for a browserURLChange event. | BrowserChangeEvent | ||
| URL_CHANGE : String = "urlChange" [static]
The
BrowserChangeEvent.URL_CHANGE constant defines the value of the
type property of the event object for a urlChange event. | BrowserChangeEvent | ||
| lastURL | property |
public var lastURL:String
The previous value of the url property in the BrowserManager.
| url | property |
public var url:String
The new value of the url property in the BrowserManager.
| BrowserChangeEvent | () | constructor |
public function BrowserChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null, lastURL:String = null)Constructor.
Parameterstype: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.
|
| APPLICATION_URL_CHANGE | constant |
public static const APPLICATION_URL_CHANGE:String = "applicationURLChange"
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. |
| BROWSER_URL_CHANGE | constant |
public static const BROWSER_URL_CHANGE:String = "browserURLChange"
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. |
| URL_CHANGE | constant |
public static const URL_CHANGE:String = "urlChange"
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. |