flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris_d_k ...@christiankiefer.de>
Subject Event when all effect ended
Date Tue, 20 Oct 2015 15:49:21 GMT
Hi,

when I want to do something after an effect has ended for all targets..

fadeOutEffect.addEventListener(EffectEvent.EFFECT_END,
handleFadeOutEffectEnded);
fadeOutEffect.targets = [aLotOfTargets];
fadeOutEffect.play();

will it be reliable to check this in the handleFadeOutEffectEnded by
checking

fadeOutEffect.isPlaying == false

or do I have to count the targets and the number of times the
handleFadeOutEffectEnded was called?



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Event-when-all-effect-ended-tp11354.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message