I want to use Adobe mxml to create a swf. However, the mxml gets compiled to swf itself and is not available after creating the swf. I want to add states with UI components without compiling it every-time. Is it possible with mxml? If not, what other design approaches can I take开发者_JAVA技巧?
The very nature of MXML and ActionScript and the Flash Platform is that you must recompile the app every time you want to make change. What you request is not possible.
There are a lot of things you can do--with ActionScript and MXML--to change the state of a component at run time based on some parameters.
As one example, when you click the down arrow button of a ComboBox the drop down will open. This is, essentially, a run time state change. There is no reason you can't perform the similar functionality with your own custom components.
精彩评论