I have a problem implementing states in my Flex app, please help!

Posted by ben on Stack Overflow See other posts from Stack Overflow or by ben
Published on 2010-04-24T14:58:26Z Indexed on 2010/04/24 15:03 UTC
Read the original article Hit count: 216

Filed under:
|
|

Hey guys, I'm trying to work out how to use states in my Flex app.

I've created two states, State1 and Stage 2. Both are based off the base state. I've created a few visual elements for State1, and given each of them includeIn="State1".

But when I'm in design mode and click on State2, these elements are still visible? Why is that?

If I try to delete them while State2 is selected, all that happens is RemoveChild is added to the State2 tag. Is this how I'm supposed to do it?

Thanks for reading!

© Stack Overflow or respective owner

Related posts about flex

Related posts about flash-builder