2008 JavaOne
SM
Conference | java.sun.com/javaone |
12
MXML demystified
All Flex Web apps start with the <mx:Application> tag
AIR Apps start with an <mx:WindowedApplication> tag
XML Attributes allow the underlying Application Object to be
preset with certain data attributes like framerate which tells
the flash player to take advantage of the client video card
capability
We can integrate MXML and ActionScript by using the CDATA
section of the <mx:Script> tag
When the previous application object has finished loading
the “applicationComplete” event is fired and the
appComplete() ActionScript function is called
The viewable text content of the TextInput control is then set
with “Hello RIA world!”
Comments to this Manuals