Posted By

activetofocus on 08/21/10


Tagged

navigateToURLnew windowemailcommunicationjs


Versions (?)

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


 / Published in: ActionScript 3
 

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

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

  1. Open a new window:
  2. navigateToURL (new URLRequest ( “http://blog.activetofocus.com”, “_blank”);
  3.  
  4. “_blank”: means the new window, you can also use “_self” to open the window and so on;
  5. Send email:
  6. navigateToURL (new URLRequest ( “mailto: blog@activetofocus.com);
  7.  
  8. Interaction with the js:
  9.  
  10. * Direct the use of js: navigateToURL (new URLRequest ( “javascript: window.close ()));
  11. * Call js function: navigateToURL (new URLRequest ( “javascript: MyJsFun (par. ..)));

Report this snippet  

You need to login to post a comment.