/ Published in: ActionScript 3
navigateToURL () will be used often, it can open a new browser window, the page can also interact with the JS:
Expand |
Embed | Plain Text
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. ..)”));
You need to login to post a comment.
