Filter is gone after hide effect

Posted by user1206761 
Filter is gone after hide effect
May 24, 2012 08:52AM
Hello,

I have an image on the stage with a filter.
When I set a hide effect on that object and play the effect, the filter is gone after the transition.
I want the filter to always stay. How can I do that?
Re: Filter is gone after hide effect
May 25, 2012 08:37AM
Did you call removeAll method? If yes, then then that's why the filter was removed.
Re: Filter is gone after hide effect
May 28, 2012 06:30AM
I did not call removeAll or removeFilter.
Is there any other reason why it happens? I don't know what to do.
Re: Filter is gone after hide effect
May 28, 2012 02:28PM
I have just realized that you are calling hide effect and not show effect.
After the hide effect is gone, you shouldn't be able to see anything, so it's normal for the filter to be removed.
The filter should work however fine after the show effect.
Re: Filter is gone after hide effect
May 30, 2012 07:34AM
Thanks Kneo, that was the problem.
For my use I do need the filters to appear after hide effect, so I have added an End event for the transition, and when the event is dispatched I re-add the filters to the effect instance.
Sorry, you do not have permission to post/reply in this forum.