I'm trying to create a transition for a component but I can't
get it to work. I can change the state from the container mxml
application but when the state changes it doesn't run the
transition. Any idea why? Thanks.
Without running your code I can't be 100% sure, so here's my
guess. The base state has your List with height="0" and the
OpenList state has the List with height="100". There isn't anything
in your transition which affects the change of height - the
WipeDown nor the Dissolve will do that. Substitute Resize for
Also, I feel that using the Dissolve + changing the alpha
property are too redundant. Set the alpha property of the List in
the base state to 0 and set the alpha to 1 in the OpenList state.
Let the Dissolve do the rest.
I think you can write your transition as simply as: