Issue when applying FlashEff to an UIcomponent

Posted by sumanth 
Issue when applying FlashEff to an UIcomponent
February 09, 2009 03:08PM
Can FlashEff be applied to any UIComponent (other than the usual suspects - sprite/movie clip etc)? I am facing the following problem:

Adding FlashEff to a UIComponent is producing this error.

ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/removeChild()
at mx.core::UIComponent/[www.adobe.com]()
at mx.core::UIComponent/removeChild()
at mx.core::UIComponent/addChild()
at FlashEff/resetChildDisplayList()
at FlashEff/set target()
at FlashEff/draw()
at com.jumpeye.core::JUIComponent/callLaterDispatcher()

We tried various things to fix this but it is persisting - is there any advice that you can give us to resolve this issue?

Thanks in advance.
Re: Issue when applying FlashEff to an UIcomponent
February 09, 2009 03:29PM
Applying FlashEff on a UIComponent may not work but there is a way to use FlassEff with a UIComponent. Put the UIComponent in a new created movieclip and then apply the FlashEff component on that clip.
I think this will work on most components.
Sorry, you do not have permission to post/reply in this forum.