flash on 2010-5-31

by kihon
♥0 | Line 17 | Modified 2010-05-31 21:09:06 | MIT License
play

ActionScript3 source code

/**
 * Copyright kihon ( http://wonderfl.net/user/kihon )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/gC86
 */

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
			   xmlns:s="library://ns.adobe.com/flex/spark" 
			   xmlns:mx="library://ns.adobe.com/flex/mx">
	<mx:Form>
		<mx:FormItem label="数量">
			<mx:TextInput id="num" imeMode="ALPHANUMERIC_HALF"/>
		</mx:FormItem>
		<mx:FormItem>
			<mx:TextInput id="num2" imeMode="ALPHANUMERIC_HALF"/>
		</mx:FormItem>
	</mx:Form>
		
	<fx:Declarations>
		<mx:NumberValidator source="{num}" property="text" minValue="10" maxValue="30"/>
		<mx:NumberValidator source="{num2}" property="text" minValue="10" maxValue="30"/>
	</fx:Declarations>
</s:Application>