2 Replies Latest reply on Jul 14, 2008 12:11 PM by chellers

    Error message using ActionScript 2.0

    chellers
      Hi I am Flash newbie trying to get a Flash quiz to pass a score to my Plateau LMS. I was told I could enter the following code below in Action Script 2.0 to get it to work.
      btnComplete.onRelease = function(){
         fscommand("CMISetStatus","passed");
         fscommand("CMIFinish");
         getURL("javascript:self.close();", "_top");
         };
      When I test the movie I get the following errors:
      Line 2: Operator '=' must be followed by an operand
      Line 3: Syntax error.

      Any help to fix these errors would be greatly appreciated!
      Thanks!