| Using Flex Builder 2 > Developing a Flex Application User Interface > Adding View States and Transitions > Creating a view state | |||
You can use Flex Builder to create a view state for an application or a component defined in an MXML file. First, you create a base state for the application or component, and then you create a second state based on the base state.
For more information, see Building a Flex User Interface.
The New State dialog box appears. The default option is to base the new state on the initial state.
The name of the new state appears in the States view.
You can edit, move, add, or delete components. As you make changes, the changes defining the new state become part of the MXML code.
For more information, see Switching states at run time.
Flex 2.01