1 Reply Latest reply on Oct 25, 2008 2:21 AM by iloveisrael

    import flash.geom.Rectangle could not be loaded?

      Hello everyone,
      I currently have a .fla file in folder a/. I have a .as called CollisionDetection file under a/com/gskinner/sprites/.
      In the .fla, I am importing the .as like this:

      import com.gskinner.sprites.CollisionDetection;

      In my .as file, I have these four lines of code in the beginning:

      import flash.display.BitmapData;
      import flash.geom.ColorTransform;
      import flash.geom.Matrix;
      import flash.geom.Rectangle;

      However, for each of them, it tells me that
      "The class or interface 'flash.geom.BitmapData' could not be loaded."

      Any ideas of why this is happening?