I'm sure this question has been asked before, but I'm just not sure how to search for it (kind of like trying to search for the this
operator...ugh).
I have a <mx:Dissolve id="dissolveOut" ... />
Effect in an Flex page I'm working on, and I would like to reuse this effect in a <mx:Transition>
sequence. Is there a way to call dissolveOut
from MXML inside the Transition
tag, or do I really just have to duplicate code?
<mx:Dissolve id="dissolveOut" alphaFrom="1" alphaTo="0" duration="2000" />
<mx:transitions>
<mx:Transition fromState="*" toState="*">
<mx:Sequence>
<mx:Dissolve <!-- I want to replace with `dissolveOut' somehow -->
alphaFrom="1" alphaTo="0"
duration="2000" />
</mx:Sequence>
</mx:Transition>
</mx:transitions>
Thanks in advance!