Tags

, ,

1. Construct a mxml file (test.mxml)

<?xml version=”1.0″ encoding=”utf-8″?>
<mx:Application
xmlns:mx=”http://www.adobe.com/2006/mxml&#8221;
horizontalAlign=”center” verticalAlign=”center”>

<mx:Button id=”myButton” label=”I’m a button!” />
</mx:Application>

2. set path to
…\Flex Builder 3\sdks\3.0.0\bin

3. run this command
mxmlc –strict=true –file-specs test.mxml

4. Run test.swf

(*) Get more examples at \flex_sdk_3\samples\explorer\explorer.swf

Advertisements