# Help get component working

**URL:** <https://forum.kirupa.com/t/help-get-component-working/267999>\
**Category:** flash\
**Created:** [August 8, 2008, 12:28am UTC](https://forum.kirupa.com/t/help-get-component-working/267999 "2008-08-08T00:28:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NHansen](https://avatars.discourse-cdn.com/v4/letter/n/f08c70/32.png) [@NHansen](https://forum.kirupa.com/u/NHansen)\
**Post date:** [August 8, 2008, 12:28am UTC](https://forum.kirupa.com/t/help-get-component-working/267999/1 "2008-08-08T00:28:27Z")

</div>

Hello. So I’ve been trying to learn AS3, while working on a new project using Gaia Framework ([http://www.gaiaflashframework.com](http://www.gaiaflashframework.com)). The component I am trying to get working is a papervision powered 3D Carousel ([http://www.afcomponents.com/components/3d\_carousel\_as3/](http://www.afcomponents.com/components/3d_carousel_as3/))  
It seems to work fine when opening the example FLA’s, but I cannot get it to work in my project files (in the gaia framework)

I have the component on the first frame. It’s instance name is “myCarousel” - I declare this in my class with

```auto
public var myCarousel:CarouselEvent;

```

Now I get a list of all these errors (for all the carousel properties - which are all defined in the parameters on the component on the stage):

```auto
1119: Access of possibly undefined property animationStyle through a reference with static type com.afcomponents.events:CarouselEvent.

```

Not sure why it thinks all the parameters of the component are undefined properties. How do I make flash recognize them?  
Should I add the component to the stage with code? How do I do this? And if I have to do that, how do I set those parameters with code?

Sorry, I’m new to AS3 and can’t seem to figure this out!
