# Class implementation not recognized

**URL:** <https://forum.kirupa.com/t/class-implementation-not-recognized/266155>\
**Category:** flash\
**Created:** [July 16, 2008, 8:41pm UTC](https://forum.kirupa.com/t/class-implementation-not-recognized/266155 "2008-07-16T20:41:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![omcginnis](https://avatars.discourse-cdn.com/v4/letter/o/c2a13f/32.png) [@omcginnis](https://forum.kirupa.com/u/omcginnis)\
**Post date:** [July 16, 2008, 8:41pm UTC](https://forum.kirupa.com/t/class-implementation-not-recognized/266155/1 "2008-07-16T20:41:57Z")

</div>

I have the following code:

```auto

Class A extends MovieClip implements IClass
{

}

```

Class A is the entry point class for a particular section of my application. Class B is a parent class that loads the resulting compiled Class A swf. In Class B I check for the following:

```auto

onLoadSwfComplete(e:Event):void
{
var displayObject:DisplayObject = _loader.contentLoaderInfo.content;
trace('is IClass: ' + Boolean(displayObject is IClass));
}

```

The above trace statement evaluates to FALSE. Any ideas as to why? I had this working originally when I was compiling via the Flash IDE. It broke as soon as I started compiling with the flex compiler (ver. 2.0.1).
