Je voudrais juste afficher un message lorsque la fenêtre s'affiche mais rien ???

Le code très simple :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
 	show="Alert.show('test')"  >
<mx:Script>	
		<![CDATA[
			import mx.controls.Alert;
		]]>
	</mx:Script> 
	<mx:Label x="20" y="60" text="email"/>
	<mx:TextInput y="60" right="60" left="90"/>	
<mx:Label x="20" y="90" text="Comments"/>
<mx:TextArea right="60" left="90" top="90" bottom="190"/>
<mx:Button label="Send" right="60" bottom="150"/>	
</mx:Application>