Same question.
Bunch of screens attached to states, one screen at a time. Instead of abrupt switch on state change I want a simple fade.
Tried wildcard in target:
target="*"
in targets:
targets="{['*']}"
and tried removing targets/target
Nada
This works, but I don't want to id all states and track list of targets.
Here is a sample:
<s:states>
<s:State name="default" stateGroups="sessionless"/>
<s:State name="Welcome" stateGroups="session" />
<s:State name="Settings" stateGroups="session" />
</s:states>
<s:Panel includeIn="sessionless">
<comp:Login id="login" includeIn="Login" />
</s:Panel>
<s:Panel includeIn="session">
<comp:Welcome id="welcome" includeIn="Welcome" />
<comp:Settings id="settings" includeIn="Settings" />
</s:Panel>
<s:transitions><s:Transition id="fader" fromState="*" toState="*">
<s:Fade duration="4000" targets="{[settings,login,welcome]}" />
</s:Transition></s:transitions>