一、
1、下載flex SDK:
http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK 2、將flexSDK_home/bin加入path環(huán)境變量
3、創(chuàng)建mxml文件
4、編譯mxml文件:
dos 命令:mxmlc --strict=true --file-specs exer.mxml
5、運(yùn)行SWF文件:
用Adope flash player運(yùn)行;
注意:
要查看編譯時(shí)生成as文件,可使用命令:
mxmlc --keep-generated-actionscript --strict=true --file-specs exer.mxml
二、
Gavin