Deleting a view state

You can use Flex Builder to delete a view state.

To delete a state:

  1. With the MXML file open in the MXML editor's Design mode, select the view state that you want to delete from the States view (Window > States).

    Flex Builder displays the state's layout in the MXML editor's Design mode.

  2. Click the Delete State button on the view's toolbar.

    If you attempt to delete a state that other states are based on, a dialog box appears to warn you that the other states will be deleted too. You can cancel the operation or confirm that you want to delete the state.


Flex 2.01

Take a survey