Show all posts by user
Discuss Flex issues here
Re: Correct way to cleanup after Text effect completed - 11 years ago
Actually what made it work for me was: myEffect.isTargetVisibleAtEnd=true; Without that, the target was still being hidden. Will try the new SWCs and see if that changes anything.by user835016 - FlashEff 2.0 Flex
Re: Correct way to cleanup after Text effect completed - 11 years ago
No hide transition was set, only a show transition. Furthermore, the hide occurs when the textEffect is removed from the parent. I believe this behavior is incorrect. Even setting the textEffect target to null before removeChild made no difference. I'm building a standalone test app to prove that there is an issue here and will log a support case. Edit: I believe I have the answer. To creatby user835016 - FlashEff 2.0 Flex
Re: Correct way to cleanup after Text effect completed - 11 years ago
Still not working. Here is the code from my transition end event handler. textEffect is the FlashEff2Flex instance. textEffect.removeAll(); textEffect.target=null; removeChild(textEffect); It only works if I force set the visible property of the target. textEffect.removeAll(); removeChild(textEffect); textEffect.target.visible=true; textEffect.target=null; Actually in both casesby user835016 - FlashEff 2.0 Flex
Correct way to cleanup after Text effect completed - 11 years ago
I have a text effect that is correctly playing my show transition (once only, I don't want looping), but in the transition end event handler I want to cleanup everything that was added to my component for the text effect (ie. the FlashEff2Flex instance). When I removeChild() on the FlashEff2Flex effect instance, my text hides. I've tried calling show and removeAll before removeChild but that didnby user835016 - FlashEff 2.0 Flex