<?xml version="1.0" encoding="Shift_JIS"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" initialize="initApp()">
	<mx:Script source="ValidationApp_script.as"/>
	<mx:RemoteObject id="messageLogic" named="messageLogic"
	    fault="alert(event.fault.faultstring, 'Error')"
		result="processMessageManager(event.result)">
    </mx:RemoteObject>
	<mx:Model id="myModel">
		<myInput>{myInput.text}</myInput>
	</mx:Model>
	<RequiredFieldValidator field="myModel.myInput" fieldName="“ü—Í1" xmlns="*"/>
	<mx:TextInput id="myInput" width="100"/>
	<mx:Button label="validate" click="validate()"/>
</mx:Application>