Return to Snippet

Revision: 30765
at August 21, 2010 03:20 by activetofocus


Updated Code
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: [email protected]”);

Interaction with the js:

    * Direct the use of js: navigateToURL (new URLRequest ( “javascript: window.close ()”));
    * Call js function: navigateToURL (new URLRequest ( “javascript: MyJsFun (par. ..)”));

Revision: 30764
at August 21, 2010 03:19 by activetofocus


Updated Code
pen 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: [email protected]�);

Interaction with the js:

    * Direct the use of js: navigateToURL (new URLRequest ( �javascript: window.close ()�));
    * Call js function: navigateToURL (new URLRequest ( �javascript: MyJsFun (par. ..)�));

Revision: 30763
at August 21, 2010 03:02 by activetofocus


Initial Code
pen 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: [email protected]”);

Interaction with the js:

    * Direct the use of js: navigateToURL (new URLRequest ( “javascript: window.close ()”));
    * Call js function: navigateToURL (new URLRequest ( “javascript: MyJsFun (par. ..)”));

Initial URL
http://blog.activetofocus.com/2009/10/07/navigatetourl-open-a-new-window-or-email-or-with-the-communication-between-js/

Initial Description
navigateToURL () will be used often, it can open a new browser window, the page can also interact with the JS:

Initial Title
navigateToURL open a new window or EMAIL or with the communication between js

Initial Tags

                                

Initial Language
ActionScript 3