I am starting development with Flex and would like a little
help on how to perform a currentstate change from within a custom
component. I have created a custom component that consists of a
ToggleButtonBar and a custom login component. When the user clicks
on a button from the togglebuttonbar, I would like to set the
currentstate of the application to the new state. However, I do not
have access to the application to make this state change. Is there
a way to perform this?