Hi, I just checked in the code that allows you to use MXML states to control your UI in FlexJS for both AS/SWF and JS/HTML.
I also updated the FlexJSOverlay.zip at [1]. And an example is at [2]. View the bin-release and right-click and choose "view source". Remember this is still a prototype so I'm sure there are bugs. There isn't any support for stateGroup, or basedOn. And note that you have to use the "mx:State" because there is some hard-wiring in FlashBuilder. Maybe there is a way around it that we'll find someday. We're slowly but surely building out components. Peter has added Panel and Alert. Everything could use some "beautification" (and bug fixing). My next task is to get {} databinding working. My goal is to get it up and running before the 360|Stack conference in August. Wish me luck and join me there to discuss this effort in person. Feedback and contributions always welcome. -Alex [1] http://people.apache.org/~aharui/FlexJS/ [2] http://people.apache.org/~aharui/FlexJS/StatesTest/