Demo and Source (right-click):
http://wookets.com/code/flex/NaviDemo/FlexNaviDemo.html
A very simple navigation demo.
The crux is… Define your views at the root of the application. Then use a contextual class to update the root view a generic ‘goto’ function. This is done view the static Navi class, but could certainly be done using IoC or a Singleton type pattern. FYI, this is using states, but one could also use a viewstack (there is a flex 4 version somewhere around here)…
More presentation model pattern next.
Flex Navigation Demo
Published
by map[name:Sean Wesenberg uri:https://plus.google.com/111523202047342274226]