3 Replies Latest reply on Nov 11, 2007 9:14 AM by kglad

    Unable to import fl.controls.*

    actionsap
      Hi,

      I recently upgrated to Flash CS3 and have been porting my AS2.0 app to AS3.0 (phew!). I've been moving along - slowly but steadily till now. For some reason, I get error #1065 - variable button not defined even though I import the pertinent class.
      so,

      import fl.controls.Button;
      ..
      ..

      -->some_button = new Button ();
      addChild(...);

      and I get the error on the indicated line.

      Any ideas?

      Thanks,
      S