<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:inputs="be.novio.view.inputs.*" creationComplete="cc()" backgroundColor="#ffffff" backgroundGradientAlphas="0,0" viewSourceURL="srcview/index.html" > <mx:VBox borderStyle="solid" cornerRadius="5" borderColor="#0099CC" paddingBottom="15" paddingLeft="15" paddingRight="15" paddingTop="15" backgroundColor="#ffffff" > <mx:Label text="Normal TextInput" /> <mx:TextInput width="350" /> <mx:Label text="WmodeTextInput" /> <inputs:WmodeTextInput width="350" /> </mx:VBox> <mx:Script> <![CDATA[ [Bindable] private var bName:String; private function cc():void { bName = ExternalInterface.call("getBrowserName"); } ]]> </mx:Script> </mx:Application>