PDA

View Full Version : problem with class in component


dmack
04-15-2005, 10:34 PM
I'm trying to make a component that imports the mx.transitions class to make use of its elastic easing features. My code works fine as a movie clip, importing the class as expected. But when I convert it to a compiled clip it seems to strip out the class information, leaving my animations lifeless.

In the AS 2.0 class dialog I am using this class decription:

mx.transitions.easing.Elastic.easeOut

This is my first attempt at making a component -- anyone know what I'm doing wrong?

Thanks.

indy1725
02-02-2006, 07:27 PM
I'm having this exact same problem - I can access these mx.transitions classes when they're defined as globals on the root timeline, but if they're only scoped within the compiled clip itself they don't work. has anyone found a workaround for this yet?