1180 Call to a possibly undefined method navigateToURL

1180 Call to a possibly undefined method navigateToURL

If you get the above error when trying to run your flash actionscript 3 file, you are obviously trying to use the navigateToURL() function but have not imported the flash.net library code.

The following code before everything will correct the problem.

import flash.net.*;

..or a more of a direct unbloated method is as follows:

import flash.net.navigateToURL;

2 thoughts on “1180 Call to a possibly undefined method navigateToURL

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>