RSS
magnify
Home General 1180 Call to a possibly undefined method navigateToURL
formats

1180 Call to a possibly undefined method navigateToURL

Published on June 18, 2010 by in General

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;
 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
2 Comments  comments 
  • Khawar

    Thanks a lot.. hours of work finally reached to an end..

    Regards

  • http://www.roopakbabu.com Roopak

    Thanks a lot .. this post helped me too..!

© Copyright © 2012 · Web Development London UK · All rights reserved · Site hosted on the hsmoore.com network
By using the site and/or making use of any of our services you agree to our Terms and Conditions