Adobe Flex - How do I go to View?

I understand that we need to create an MXML file to define the view. Suppose that when the user clicks a button, I want to show a different view defined in a different MXML file. How can i do this?

0


a source to share


1 answer


You can use the viewstack. each item in the viewstack will be a different MXML file, so when the user clicks the button, you change the selected index in view mode, which causes the view to change.



You can probably check examples from http://www.adobe.com/devnet/flex/tourdeflex/ , this will help explain a lot more than a simple answer. From your question, it looks like you need to get the flex basics first, and the tour de flex app contains a lot of examples with source code. NTN.

+3


a source







All Articles