Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
Currently you can only use state groups in includeIn and excludeFrom. It would be very nice to be able to use state groups to set properties etc, as a function of state.
Given:
s:states>
<s:State name="base" stateGroups="baseGroup"/>
<s:State name="full" stateGroups="baseGroup"/>
............
<s:State name="gizzillionMinusOne" stateGroups="detailGroup"/>
<s:State name="gizzillion" stateGroups="detailGroup"/>
</s:states>
And then in your tags you get
property.base="whatever"
property.full="whatever"
.............
property.gizzillionMinusOne="whateverElse"
property.gizzillion="whateverElse"
Which is massive pain with multiple states when it would be so wonderful to just have:
property.baseGroup="whatever"
property.detailGroup="whateverElse"
i.e. two lines instead of gizillions of redundant lines.
Thanks.