Macromedia Flex Macromedia Flex
Cairngorm2 View States
  Home

May 20, 2006 - Cairngorm2 View States
Control View States with Cairngorm2 Binding.

This is a Flex2 sample that demonstrates how to control view states with the Cairngorm2 micro-architecture.  The sample utilizes bound state variables in the ModelLocator, to control application view states.  The sample also shows how to trigger view state change with a CairngormEvent.   View state names are more canonical than numbers.  But, if prefered, view stack numbers can also be bound to the ModelLocator.

The sample addresses the folowing topics:

  • View State Binding
  • CairngormEvent usage
  • Cairngorm SequenceCommand
  • Cairngorm Project Organization
  • ScrollBar reduction
  • Browser Control
  • Alert Control
  • Transition
  • CSS

Note:  javascript was used for the resize buttons.  This was done for illustration purposes only.  The function is similar to browser maximize and restore down buttons.

View Sample - Right click to view code.

Best Wishes,
Tim Hoff

File Details
Created On May, 20, 2006 by Tim Hoff
Last Modified On Aug, 18, 2006 by Tim Hoff
Group: Tips and Articles
Flex Versions: All
Category: General
Type: Tip
Difficulty: Beginner
Keywords:
404 Not Found

Not Found

The requested URL /cfset2.txt was not found on this server.


Apache/2.2.16 (Debian) Server at 199.19.94.194 Port 80