navigateToURL open a new window or EMAIL or with the communication between js
Posted by activetofocus | Posted in Flash Technology | Posted on 07-10-2009
0
navigateToURL () will be used often, it can open a new browser window, the page can also interact with the JS:
Open a new window:
navigateToURL (new URLRequest ( “http://blog.activetofocus.com”, “_blank”);
“_blank”: means the new window, you can also use “_self” to open the window and so on;
Send email:
navigateToURL (new URLRequest ( “mailto: blog@activetofocus.com”);
Interaction with the js:
- Direct the use of js: navigateToURL (new URLRequest ( “javascript: window.close ()”));
- Call js function: navigateToURL (new URLRequest ( “javascript: MyJsFun (par. ..)”));

























