# ClassFactory not accessable in the Flash IDE?

**URL:** <https://forum.kirupa.com/t/classfactory-not-accessable-in-the-flash-ide/274775>\
**Category:** flash\
**Created:** [November 4, 2008, 5:34pm UTC](https://forum.kirupa.com/t/classfactory-not-accessable-in-the-flash-ide/274775 "2008-11-04T17:34:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryguyspk](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@ryguyspk](https://forum.kirupa.com/u/ryguyspk)\
**Post date:** [November 4, 2008, 5:34pm UTC](https://forum.kirupa.com/t/classfactory-not-accessable-in-the-flash-ide/274775/1 "2008-11-04T17:34:08Z")

</div>

I developed a component in Flex. A few buddies want to use it in the Flash IDE. I started porting the component over and hit a problem… I can’t import the ClassFactory. Also, the help in Flash has nothing.

I rarely use Flash and when I do, it’s only to create graphics to import into Flex. Can anyone point me in the correct direction.

It would be nice to simply import mx.core.ClassFactory. Do I have to point anything to Flash to load in this class? I create a factory so I can set properties before the component is initialized. If I do not initialize the properties ahead of time, the rendering of the component isn’t correct.

Maybe there is some sort of workaround?

Thanks!
