The reason I have the base state blank is because I want the Master and
Detail states to not share UI.  Should I implement the Master and Detail
in a ViewStack instead?  Anyone else have input into this?
--- In flexcoders@yahoogroups.com, "Kevin Mulvihill" <[EMAIL PROTECTED]>
wrote:
>
> Here's what I'm getting from all the manual reading I've been doing
over the
> past week. Others may correct me or clarify as needed.
>
> - Think of the base state as the "home page"... it's the initial state
of
> the app or component when the user browses to it. I can't think of a
good
> reason why it would ever be empty unless you wanted to implement some
kind
> of transition or effect immediately upon loading it.
> - In the larger sense of UI design, HTML "pages" are addressed in the
Flex
> metaphor with ViewStacks attached to a navigator. Use this for macro
changes
> in the interface.
> - View states are used to display incremental changes in state. Sounds
like
> you are using that correctly insofar as you describe it... however,
> depending on how your user interface is designed and what you're
trying to
> accomplish, the "Detail" state you describe could also be just an
> incremental change to the "Master" state with the Master state
remaining
> visible. Also, the "Master" state could be your base state since it's
empty
> and that's the first thing the user sees.
>
> Also, and more generally, don't forget that Flex development is based
on
> components. So it may be appropriate to shelter your calendar "module"
in a
> component if you haven't already done so...
>
> Kevin
>
>
>
>   _____
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
> Behalf Of gotgoose09
> Sent: Wednesday, July 26, 2006 10:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Am I using States correctly?
>
>
>
> Coming from a Flash point of view, I am using mx:State as I used Forms
> in Flash. In my current project I have a "Master" state that holds a
> DataGrid with calendar events in it and some buttons to manipulate the
> data. I have a create and edit button that go to a "Detail" state that
> holds a form to create a new event or edit an existing one.
>
> In my code, the States consist of one AddChild that holds the ui. Each
> state is based off of the base state, which is empty. What I'm
> wondering is, is this the correct usage of States or is there a better
> way to do this?
>







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to