5 Replies Latest reply on Oct 23, 2011 10:21 PM by xandout

    Not sure about an error




      I am new to Actionscript and am very inexperienced. I keep getting Error 1086 (Syntax error: expecting semicolon before) and I dont know why.


      Here is the code:


                      var a:Number=Number (OCC.text)

                      var b:Number=Number (DCC.text)

                      var c:Number=Number (ATC.text)



                      if (a == "10" && b == "30") {

                              var e:Number (c*1.5);

                              CA.text = String(e);




      All help is much appreciated!!!