<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*" width="600" height="400" creationComplete="creationComplete()"> <ns1:EngineManager x="0" y="0" width="100%" height="100%" id="engineManager"/> <mx:Script> <![CDATA[ public function creationComplete():void { engineManager.startup(); } ]]> </mx:Script> </mx:Application>