5 Replies Latest reply on Sep 12, 2007 8:19 AM by nyanko920

    Import tween class

    nyanko920
      Hi. I am new at using actionscript, and I am having a bit of difficulty with Flash MX and importing tween class.
      I have typed in this code:
      import mx.transitions.Tween;
      import mx.transitions.easing.*;

      and this is the response I get:
      Scene=Scene 1, Layer=actions, Frame=1: Line 1: ';' expected
      import mx.transitions.Tween;

      Scene=Scene 1, Layer=actions, Frame=1: Line 2: ';' expected
      import mx.transitions.easing.*;

      Every resource I go to tells me that my code is correct. Does anyone know what I am doing wrong?