Oct
10
2008
getURL in ActionScript 3
There is a little more to write when you want to link from Flash to some website using ActionScript 3. ActionScript 2 offered the getURL method, ActionScript 3 doesn't have it anymore.
It's a good practise to use try - catch statement to track any issues when navigating to the websites.
1 |
var myURL:String = "http://sierakowski.eu"; |
You can also use mailto: This e-mail address is being protected from spambots. You need JavaScript enabled to view it in your URL variable to create a link to send an email.


Comments
navigateToURL(n ew URLRequest("website.com", "_blank"));