[flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-21 Thread Tim Hoff
You might try changing the state of the child component before the parent. I've noticed, probably because of Flex's asynchronous nature, that sometimes code doesn't execute before the screen is rendered. If you were using cairngorm, I would recomend that you control all of the states in

Re: [flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-21 Thread Michael Schmalle
Well, I have downloded it and researched but, not implemented it yet. From reading the 6 part artical, it seemed that this app I am making wasn't big enough to warrant it. If you want, post the example. I could just implement the pattern anyway(without the framework). Peace, MikeOn 4/21/06,

Re: [flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-21 Thread Michael Schmalle
Oh yeah, Now that is the morning and I remeber what I did, it was the call. For now, I just over road the Application's currentState and called what I need from there. Since I use a lot of modules, the scope is only one child deep for this. Works fine. If you still want to post that example

[flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-21 Thread Tim Hoff
Hey Mike, just look back a couple of messages to #34516 Flex2B2: Cairngorm - Controlling View State Example. Regards, Tim --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Oh yeah, Now that is the morning and I remeber what I did, it was the call. For now,

[flexcoders] Re: Flex2B2 :: Changing State :: Problem with parent child

2006-04-20 Thread Tim Hoff
Looks like you need an equal sign. modifierCheckGroup.currentState matchState; should be: modifierCheckGroup.currentState = matchState; - Tim --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Real quick is there a problem with changing a parent