Ok I have a MXML file that has 3 states. All of them have one coommon canvas
in common
that holds an accordian. It should look the same in all 3 states. Is there a
way to only define
the accordian (and canvas) container once and have it appear on all thre
states??
Right now in the code
[mailto:flexcoders@yahoogroups.com] On Behalf Of mthielman11
Sent: Wednesday, June 28, 2006
7:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reusing code
blocks
Ok I have a MXML file that has 3 states. All of them
have one coommon canvas in common
that holds an accordian
Yes, through the concept of base states. Build a state that has the
components you want shared between multiple sub-states, then when you
add a new state in Flex Builder change the Based On drop down to be
the state that contains the Canvas and Accordian.
-d
mthielman11 wrote:
Ok I have a
3 matches
Mail list logo