1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
| <?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" borderStyle="none" alpha="1.0" cornerRadius="0">
<mx:Validator id="chp_identifiantValid" source="{chp_identifiant}" property="text" required="true" />
<mx:Validator id="chp_mdpValid" source="{chp_mdp}" property="text" required="true" />
<mx:Panel layout="absolute" title="Authentification" horizontalCenter="0" verticalCenter="0" height="258" backgroundAlpha="1.0">
<mx:Form x="0" y="24" height="86">
<mx:FormItem label="Identifiant" fontWeight="bold" required="true" >
<mx:TextInput id="chp_identifiant"/>
</mx:FormItem>
<mx:FormItem label="Mot de passe" fontWeight="bold" required="true">
<mx:TextInput id="chp_mdp" displayAsPassword="true"/>
</mx:FormItem>
</mx:Form>
<mx:FormItem width="60" y="118" x="28">
</mx:FormItem>
<mx:Button label="Enter" x="218" y="118" />
<mx:Image source="maghrebia.jpg" horizontalCenter="0" bottom="22" width="194" height="39"/>
</mx:Panel>
</mx:Application> |