Revision: 40479
Updated Code
at February 2, 2011 22:57 by JaaQ
Updated Code
// get charCode in a String
s = new String("Chris");
i = s.charCodeAt(0);
// i = 67
// Navigate to external URL
var targetURL:URLRequest = new URLRequest("http://yourhomepage.com/");
var target:String; // Open the link in..
target = "_self" // specifies the current frame in the current window.
target = "_blank" // specifies a new window.
target = "_parent" // specifies the parent of the current frame.
target = "_top" // specifies the top-level frame in the current window.
navigateToURL(targetURL,target);
Revision: 40478
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 2, 2011 22:56 by JaaQ
Initial Code
// get charCode in a String
s = new String("Chris");
i = s.charCodeAt(0);
// i = 67
// Navigate to external URL
var targetURL:URLRequest = new URLRequest(“http://yourhomepage.com/“);
var target:String; // Open the link in..
target = "_self" // specifies the current frame in the current window.
target = "_blank" // specifies a new window.
target = "_parent" // specifies the parent of the current frame.
target = "_top" // specifies the top-level frame in the current window.
navigateToURL(targetURL,target);
Initial URL
Initial Description
- Get the charCode in a String - Navigate to an external URL
Initial Title
Some useful AS3 snips that always slip my mind
Initial Tags
url
Initial Language
ActionScript 3