Posts: 135 / Nickname: fsommers / Registered: January 19, 2002 7:24 AM
Working with States in Flex 4
September 16, 2009 4:00 PM
|
Flex 4's new syntax simplifies working with application states. This article provides a tutorial introduction into UI state management with Flex 4, and includes a complete example.
http://www.artima.com/articles/flex_4_states.html What do you think of Flex 4 state syntax? |
Posts: 1 / Nickname: xcerium / Registered: June 22, 2010 11:45 PM
Re: Working with States in Flex 4
June 23, 2010 4:56 AM
|
Helpful, thanks. stateGroups were a puzzle, though. How to combine states? Which state names to use throughout the mxml? Where do these stateGroups pay off? I built an experiment, and the news is good: JohnHicks dot com slash wp
Thank You John Hicks |
Posts: 2 / Nickname: csnjava / Registered: July 26, 2010 7:14 AM
Re: Working with States in Flex 4
July 26, 2010 0:24 PM
|
I downloaded the new Adobe Flash Builder 4 Premium and tried and it is working. However, for this example, I made a small change from
xmlns:mx="library://ns.adobe.com/flex/halo to xmlns:mx="library://ns.adob e.com/flex/mx to make it compile. I am stunned that it did not work. I can switch between on state and the other. When we click on "Need to register" I expected to see things like "First Name" and "Last Name". Their location do exist as an space is allocated in the layout but they stay invisible. I have no clue why this does not work. Thanks Pedro Boh |
Posts: 2 / Nickname: csnjava / Registered: July 26, 2010 7:14 AM
Re: Working with States in Flex 4
July 27, 2010 11:42 AM
|
Sorry for my stupid question.
I wonder why `alpha="0.0" ` was used. Just delete it and it will look fine. |