Skip to main content
July 5, 2010
Answered

Whats wrong with this code? Error 1180.

  • July 5, 2010
  • 1 reply
  • 675 views

I keep getting the error 1180:Call to a possible undefined method getURL

var jscommand:String = "window.open('www.adobe.com','win','height=1024,width=768,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);");

Any help would be appreciated.

Thanks guys.

This topic has been closed for replies.
Correct answer Ned Murphy

getURL is AS2 code, not AS3.

1 reply

Ned Murphy
Ned MurphyCorrect answer
Legend
July 5, 2010

getURL is AS2 code, not AS3.

July 6, 2010

Got it.

Thanks!