1180: Call to a possibly undefined method getURL. Actionscript 3

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

Below is how you should now start doing it:

var request:URLRequest = new URLRequest("http://www.andrewodendaal.com/"); try { navigateToURL(request, '_blank');} catch (e:Error) { trace("Error occurred!");}
Code language: JavaScript (javascript)
Notify of
1 Comment
Oldest Most Voted
Inline Feedbacks
View all comments
Tom Atkinson
11 years ago

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)