blob: abf5b4e75d7629a749260fc0ae13be6ba6b1642e [file] [log] [blame]
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" >
<mx:Script>
<![CDATA[
import mx.controls.TextInput;
import mx.validators.NumberValidator;
import mx.managers.SystemManager;
]]>
</mx:Script>
<mx:TextInput id="ti1" />
<mx:NumberValidator id="myNb" source="{ti1}"/>
<mx:Button id="bt" />
</mx:VBox>