# Rectangle include problem

**URL:** <https://forum.kirupa.com/t/rectangle-include-problem/200120>\
**Category:** flash\
**Created:** [September 8, 2006, 8:24pm UTC](https://forum.kirupa.com/t/rectangle-include-problem/200120 "2006-09-08T20:24:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marky\_boy](https://avatars.discourse-cdn.com/v4/letter/m/c0e974/32.png) [@marky\_boy](https://forum.kirupa.com/u/marky_boy)\
**Post date:** [September 8, 2006, 8:24pm UTC](https://forum.kirupa.com/t/rectangle-include-problem/200120/1 "2006-09-08T20:24:11Z")

</div>

Hello everyone,

I’m probably being a bit lazy here but this probably won’t tax you too much whereas I’ll take ages to find the right answer.

Basically, I’ve declared a rectangle within one of my classes like this:

```auto
var vw:flash.geom.Rectangle;

```

But I keep getting an error:

```auto
Map.as: Line 28: The class or interface 'flash.geom.Rectangle' could not be loaded.

```

I’m relatively new to actionscript but this seems an odd error since I’ve put this at the top off the class:

```auto
import flash.geom.Rectangle

```

Oddly, this error comes from the code within the .fla not the class file.

Could someone please tell me what I’m doing wrong?

Much appreciated.

M
