flash 自适应屏幕代码
<mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
[Embed(source="index.swf")]
[Bindable]
private var swf:Class;
]]>
</mx:Script>
<mx:SWFLoader source="{swf}" width="100%" height="100%"/>
</mx:Application>
这是我内嵌进flex的一个swf
方法
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundImage="{swf}">
<mx:Script>
<![CDATA[
[Embed(source="index.swf")]
[Bindable]
private var swf:Class;
]]>
</mx:Script>
</mx:Application>
补充:flash教程,动画技术