Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.managers 
BrowserManager 
Packagemx.managers
Classpublic class BrowserManager
InheritanceBrowserManager Inheritance Object

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

The BrowserManager is a Singleton manager that acts as a proxy between the browser and the application. It provides access to the URL in the browser address bar similar to accessing the document.location property in JavaScript. Events are dispatched when the url property is changed. Listeners can then respond, alter the URL, and/or block others from getting the event.

To use the BrowserManager, you call the getInstance() method to get the current instance of the manager, and call methods and listen to events on that manager. See the IBrowserManager class for the methods, properties, and events to use.

See also



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
[static] Returns the sole instance of this Singleton class; creates it if it does not already exist.
BrowserManager
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Method Detail

getInstance

()method
public static function getInstance():IBrowserManager

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

Returns the sole instance of this Singleton class; creates it if it does not already exist.

Returns
IBrowserManager — Returns the sole instance of this Singleton class; creates it if it does not already exist.