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!");}

1 thought on “1180: Call to a possibly undefined method getURL. Actionscript 3”

  1. 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.