Can't call any methods or access properties

Posted by coalescent 
Can't call any methods or access properties
May 21, 2009 07:42PM
Hi -

I've added some effects to some dynamic text objects and clips via the component panel and now am trying to control some of them via ActionScript.

However, when I call a method like myObject.show(), I get this error:

1061: Call to a possibly undefined method show through a reference with static type flash.text:TextField.

So, I thought perhaps I needed to import the relevant pattern class like this:

import com.jumpeye.flashEff.symbol.alpha.FESAlpha;

But then I get this error:

1172: Definition com.jumpeye.flashEff.symbol.alpha:FESAlpha could not be found.

I’m obviously missing something fundamental here but am new to AS 3. Can anyone point me in the right direction?

Thanks,
Mike
Re: Can't call any methods or access properties
May 21, 2009 08:15PM
Figured out the import - and figured out the methods issue. Duh...I was targeting the clip instance the Flash Eff was applied to, not the actual Flash Eff component instance.
Sorry, you do not have permission to post/reply in this forum.