| Package | org.samchon.library.utils |
| Class | public class URL |
| Inheritance | URL Object |
URL is a utility class gathering interaction functions with web (browser-side containing Flex SWF file).
| Property | Defined By | ||
|---|---|---|---|
| THIS_URL : String [static] [read-only]
Get the URL which is containing Flex swf file
Alert) MOVIE_URL doesn't contain the URLVariables
| URL | ||
| Method | Defined By | ||
|---|---|---|---|
closeWindow():void [static]
Close the browser, literally
| URL | ||
getMovieName():String [static]
Get the "movie" property from URLVariables in URL
| URL | ||
getParameters():URLVariables [static]
Get the URLVariables (GET method) from URL
ex) http://samchon.org/simulation/index.html?movie=montecarlo&type=4&code=005930
---- -> returns "movie=montecarlo&type=4&code=005930";
| URL | ||
goNewWindow():void [static]
Create a new window having same movie
| URL | ||
goWindow(movie:String):void [static]
Navigate this window to another movie
| URL | ||
navigateToURL(url:String, method:String = _self):void [static]
Flash's original navigateToURL does not act in Internet Explorer.
Instead, URL::navigateToURL calls the javascript's window.open
| URL | ||
| THIS_URL | property |
THIS_URL:String [read-only]
Get the URL which is containing Flex swf file
Alert) MOVIE_URL doesn't contain the URLVariables
public static function get THIS_URL():String| closeWindow | () | method |
public static function closeWindow():void
Close the browser, literally
| getMovieName | () | method |
public static function getMovieName():String
Get the "movie" property from URLVariables in URL
ReturnsString |
| getParameters | () | method |
public static function getParameters():URLVariables
Get the URLVariables (GET method) from URL
ex) http://samchon.org/simulation/index.html?movie=montecarlo&type=4&code=005930
---- -> returns "movie=montecarlo&type=4&code=005930"; ReturnsURLVariables |
| goNewWindow | () | method |
public static function goNewWindow():void
Create a new window having same movie
| goWindow | () | method |
public static function goWindow(movie:String):void
Navigate this window to another movie
Parameters
movie:String |
| navigateToURL | () | method |
public static function navigateToURL(url:String, method:String = _self):void
Flash's original navigateToURL does not act in Internet Explorer.
Instead, URL::navigateToURL calls the javascript's window.open
Parameters
url:String | |
method:String (default = _self) |