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


/ Published in: ActionScript 3
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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. ..)”));

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.