xml version encoding utf-8 mx WindowedApplication xmlns mx http www ad

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
invoke="onInvoke(event)">
<mx:Script>
<![CDATA[
private function onInvoke(event:InvokeEvent):void
{
if(0!=event.arguments.length)
for each (var argument:String in event.arguments)
{
txtArguments.text+=argument+"\n";
}
}
]]>
</mx:Script>
<mx:Label text="Arguments:" x="0" y="0"/>
<mx:TextArea id="txtArguments" x="0" y="26" width="100%" height="100%"/>
</mx:WindowedApplication>