0 Replies Latest reply on Apr 3, 2008 5:12 AM by prabakarz

    Help needed in compiling actionscript files

      Hi All,
      Iam using asc.jar to compile the as scripts which i have written. But when i try to compile the code using the following command

      java -jar asc.jar sample.as

      It gives an error 1017: The definition for BaseClass Object is not found.

      My Sample.as is a very simple one.

      Please find the code below.

      import flash.net.URLRequest;
      import flash.net.navigateToURL;

      public class Sample
      public function keynoteOpenUrl(url:String) : void {
      var absUrl:String = " http://www.yahoo.com";

      if (url.indexOf(" http://www.yahoo.com") == -1) {
      url = absUrl + url;
      navigateToURL(new URLRequest(url));


      Anyone help me on this. If there is any errors in the actionscript, please let me know. Iam a newbie to flash and actionscript.

      Prabakaran Srinivasan.