Hello all actionscripters, you can’t use getURL anymore in Actionscript 3.

Below is how you should now start doing it:
[code lang=”actionscript”]
var request:URLRequest = new URLRequest(“http://www.andrewodendaal.com/”);
try { navigateToURL(request, ‘_blank’);}
catch (e:Error) { trace(“Error occurred!”);}
[/code]


1 Comment

Tom Atkinson · May 20, 2011 at 06:00

My god, is that true? I stumbled across your blog while working on a project in CS5.5, whereas last one I used was CS3, this is spooky. Cheers!!
(weird the official adobe help didn’t mention this)

Leave a Reply

Your email address will not be published. Required fields are marked *