You could use a ViewStack and create separate files or keep them in
the same file, or use viewStates and have them at the same file
El 22/04/2009, a las 14:50, pxstein <firstname.lastname@example.org> escribió:
Assume I need for a Flex app two completely different dialog panels:
1.) Panel A with a couple of buttons, entry fields, checkboxes,...
2.) Panel B with a big listbox and a few buttons at the bottom.
So when the user clicks in Panel A on a certain button some
cumputations were made and the result presented in Panel B.
First question: How do I design a second Panel in Flex Builder? Is a
new (different) mxml file required?
I found no "create new panel" or similar menu.
Second question: How can I switch fron the display of Panel A to
the display of Panel B?
Could you give me a (simple) source code example or an Internet web page
with a short intro for such scenarios?