If you read my post 5 mins ago you'll realise this is a
related problem - I'm a Flex noob and haven't been able to find the
solutions in the help files or elsewhere online - so I'd greatly
appreciate any help you could offer me.
I have a component that calls a WebService to populate some
labels and once this data is retrieved I change the state of the
panel container to display those labels. I've defined a transition
between these 2 states - but can't get it to display properly.
As with the previous problem, I am changing the state in the
creationComplete event of the main panel because I need it to
happen automatically - I can't put it on a button.
I'm beggining to think that this is where my problem lies -
I'm trying to do everything as the component gets created and not
when responding to user input. Is there any way I can get this to
private function loadBrokerDetails(event: Event): void
// Change the state to play the transition
currentState = 'DisplayState';