Cairngorm - Controlling View State Example.
Regards,
Tim
--- In [email protected], "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> 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 that would be great.
>
> Peace, Mike
>
> On 4/21/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:
> >
> > 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 [email protected], "Michael Schmalle"
> > > <teoti.graphix@> wrote:
> > > >
> > > > hi,
> > > >
> > > > No, that was just a typo from the email, I am getting no
errors.
> > > >
> > > > Peace, Mike
> > > >
> > > > On 4/20/06, Tim Hoff <TimHoff@> wrote:
> > > > >
> > > > >
> > > > > Looks like you need an equal sign.
> > > > >
> > > > > modifierCheckGroup.currentState "matchState";
> > > > >
> > > > > should be:
> > > > >
> > > > > modifierCheckGroup.currentState = "matchState";
> > > > >
> > > > > - Tim
> > > > >
> > > > >
> > > > > --- In [email protected], "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%
<http://www.mail-archive.com/flexcoders%25>
> > > 40yahoogroups.com
> > > > >
> > > > >
> > > > > ------------------------------
> > > > > YAHOO! GROUPS LINKS
> > > > >
> > > > >
> > > > > - Visit your
> > > group "flexcoders<http://groups.yahoo.com/group/flexcoders>"
> > >
> > > > > 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
> > >
> > >
> > >
> > > SPONSORED LINKS
> > > Web site design development<http://groups.yahoo.com/gads?
t=ms&k=Web+site+design+development&w1=Web+site+design+development&w2=
Computer+software+development&w3=Software+design+and+development&w4=M
acromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig=L
-4QTvxB_quFDtMyhrQaHQ> Computer
> > > software development<http://groups.yahoo.com/gads?
t=ms&k=Computer+software+development&w1=Web+site+design+development&w
2=Computer+software+development&w3=Software+design+and+development&w4
=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.sig
=lvQjSRfQDfWudJSe1lLjHw> Software
> > > design and development<http://groups.yahoo.com/gads?
t=ms&k=Software+design+and+development&w1=Web+site+design+development
&w2=Computer+software+development&w3=Software+design+and+development&
w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166&.s
ig=1pMBCdo3DsJbuU9AEmO1oQ> Macromedia
> > > flex<http://groups.yahoo.com/gads?
t=ms&k=Macromedia+flex&w1=Web+site+design+development&w2=Computer+sof
tware+development&w3=Software+design+and+development&w4=Macromedia+fl
ex&w5=Software+development+best+practice&c=5&s=166&.sig=OO6nPIrz7_EpZ
I36cYzBjw> Software
> > > development best practice<http://groups.yahoo.com/gads?
t=ms&k=Software+development+best+practice&w1=Web+site+design+developm
ent&w2=Computer+software+development&w3=Software+design+and+developme
nt&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=166
&.sig=f89quyyulIDsnABLD6IXIw>
> > >
> > > ------------------------------
> > > YAHOO! GROUPS LINKS
> > >
> > >
> > > - Visit your
group "flexcoders<http://groups.yahoo.com/group/flexcoders>"
> > > 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.
> >
>
>
>
> --
> 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 group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

