Over 10 years of community discussion and knowledge are maintained here as a read-only archive. New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC
|
|
|
Show Posts
|
Pages: 1 [2]
|
16
|
Announcements and General Discussion / General Discussion / StateMachine with Sub Components State
|
on: August 13, 2009, 12:43:37
|
Hi all !
I'm developping a RIA based on PureMvc Framework.. I have a main Application that already use StateMachine to swap from state to state. But in each state, i have components that have also states, so kind of sub states... Is it possible to define these sub states in the injected fsm definition or have i to redefine a fsm for each component ? I try to get examples here and on google it without success.
Thanks a lot
|
|
|
18
|
Announcements and General Discussion / General Discussion / StateMachine with <mx:State> vs StateMachine with <mx:ViewStack>
|
on: July 19, 2009, 11:42:32
|
Hi,
I was wondering what is the best way to implement state change mechanism. In differents examples i saw when google it, the ViewStack solution is often used but what about State solution ? In my application i've implemented the State solution with a currentState="{state}" in the component definition, and everything is allright. The only difference using that way is that i've to create a switch to notify the Application facade in the component Mediator with the correct component reference in place of the currentState. Is it a "best practice" or a wrong way ?
thanks a lot
pureMVC rocks !
Poly
|
|
|
|
|
|