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, Mike

On 4/21/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
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 your application in the modelLocator.  By binding
the currentState property of a component to a variable in the
model, you can simply update the variable to the desired state for
the component and the view automatically reflects the change.  I can
provide you with an example if you want.  But, if you're not using
cairngorm yet, it probably won't fit your need.


Tim

--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> hi,
>
> No, that was just a typo from the email, I am getting no errors.
>
> Peace, Mike
>
> On 4/20/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> >
> >
> > Looks like you need an equal sign.
> >
> >         modifierCheckGroup.currentState "matchState";
> >
> > should be:
> >
> >        modifierCheckGroup.currentState = "matchState";
> >
> > - Tim
> >
> >
> > --- In flexcoders@yahoogroups.com, "Michael Schmalle"
> >
> > <teoti.graphix@> wrote:
> > >
> > > Hi,
> > >
> > > Real quick is there a problem with changing a parent component
state
> > and in
> > > the next call calling one if it's children's state changes?
> > >
> > > I cannot get this to work, but in the mxml component the child
> > component
> > > changes state fine.
> > >
> > > IE
> > >
> > > if (event.label == "Match") {
> > > trace("Match");
> > > currentState = "matchState";
> > > modifierCheckGroup.currentState "matchState";
> > > }
> > >
> > > Peace, Mike
> > >
> > > --
> > > What goes up, does come down.
> > >
> >
> >
> >
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> >
> >
> >  ------------------------------
> > YAHOO! GROUPS LINKS
> >
> >
> >    -  Visit your

> >    on the web.
> >
> >    -  To unsubscribe from this group, send an email to:
> >     [EMAIL PROTECTED]<flexcoders-
[EMAIL PROTECTED]>
> >
> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service <http://docs.yahoo.com/info/terms/>.
> >
> >
> >  ------------------------------

> >
>
>
>
> --
> What goes up, does come down.
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






YAHOO! GROUPS LINKS






--
What goes up, does come down.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to