Package | gs.util |
Class | public class NavigateToURL |
You can also set this class to send an ExternalInterface call to a function in javascript to open the page instead.
Property | Defined by | ||
---|---|---|---|
externalInterfaceOpenMethod : String [static]
If this is set, and the mode is external interface,
the call will be made to this method, with the url parameter
and window.
| NavigateToURL | ||
fallbackToNavToURL : Boolean [static]
Whether or not to fallback to using navigateToURL
in the event that ExternalInterface isn't available.
| NavigateToURL | ||
mode : String [static]
Controls how to send the request for
a page navigation.
| NavigateToURL | ||
window : String = "_blank" [static]
The window parameter for navigateToURL calls.
| NavigateToURL |
Method | Defined by | ||
---|---|---|---|
navToURL(url:URLRequest, windw:String = "_blank"):void
[static]
Navigate to a url.
| NavigateToURL |
Constant | Defined by | ||
---|---|---|---|
externalInterface : String = "externalInterface" [static]
Mode for using external interface for page navigations.
| NavigateToURL | ||
flashNavigateToURL : String = "navigateToURL" [static]
Mode for using navigateToURL for page navigations.
| NavigateToURL |
externalInterfaceOpenMethod | property |
public static var externalInterfaceOpenMethod:String
If this is set, and the mode is external interface, the call will be made to this method, with the url parameter and window.
fallbackToNavToURL | property |
public static var fallbackToNavToURL:Boolean
Whether or not to fallback to using navigateToURL in the event that ExternalInterface isn't available.
mode | property |
public static var mode:String
Controls how to send the request for a page navigation.
window | property |
public static var window:String = "_blank"
The window parameter for navigateToURL calls.
navToURL | () | method |
public static function navToURL(url:URLRequest, windw:String = "_blank"):void
Navigate to a url.
Parametersurl:URLRequest — The url request.
|
|
windw:String (default = "_blank ") — The window mode.
|
externalInterface | constant |
public static const externalInterface:String = "externalInterface"
Mode for using external interface for page navigations.
flashNavigateToURL | constant |
public static const flashNavigateToURL:String = "navigateToURL"
Mode for using navigateToURL for page navigations.