Packagemx.events
Classpublic class BrowserChangeEvent
InheritanceBrowserChangeEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The BrowserChangeEvent class represents event objects specific to the BrowserManager.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
BrowserChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null, lastURL:String = null)
Constructor.
BrowserChangeEvent
Public Constants
 ConstantDefined 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
Property Detail
lastURLproperty
public var lastURL:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The previous value of the url property in the BrowserManager.

urlproperty 
public var url:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The new value of the url property in the BrowserManager.

Constructor Detail
BrowserChangeEvent()Constructor
public function BrowserChangeEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, url:String = null, lastURL:String = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
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.
Constant Detail
APPLICATION_URL_CHANGEConstant
public static const APPLICATION_URL_CHANGE:String = applicationURLChange

Language Version : ActionScript 3.0
Product Version : Flex 3
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
lastURLThe previous value of the BrowserManager's url property.
targetThe 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.
urlThe new value of the BrowserManager's url property.

BROWSER_URL_CHANGEConstant 
public static const BROWSER_URL_CHANGE:String = browserURLChange

Language Version : ActionScript 3.0
Product Version : Flex 3
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
lastURLThe previous value of the BrowserManager's url property.
targetThe 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.
urlThe new value of the BrowserManager's url property.

URL_CHANGEConstant 
public static const URL_CHANGE:String = urlChange

Language Version : ActionScript 3.0
Product Version : Flex 3
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:

PropertyValue
bubblesfalse
cancelablefalse
currentTargetThe 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.
lastURLThe previous value of the BrowserManager's url property.
targetThe 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.
urlThe new value of the BrowserManager's url property.