PDA

View Full Version : component question?


Filipinho
10-30-2003, 06:18 AM
Hi!

I'm trying to create a component in MX 2004 but I have a problem.

I have created a MovieClip that is linked to a AS2 class. I have added a few properties in the component definition but when I try to link the component to the same AS2 class the properties dissapers.

What should I do to solve this?

Stimpson
11-05-2003, 05:06 PM
Well assuming you set the properties in the in the component panel, just don't (re)link the object to the same class.

This is because the components gets it's initial values from the class, and when you reasign a class it refreshes it's propertie values in the panel with the ones out of the class file.

You shouldn't have to link a component to the same class twice bytheway. Every change in the classfile is automaticly picked up once the linkage has been set.