FLASH动态调整缩放模式(AS2)
1、这里用的FLASH8,打开软件,新建FLASH文档。

3、制作三个按钮,如图所示:


5、在主时间轴加如下代码:Stage.scaleMode="showAll&孥恶膈茯quot;;btn_showall.onPress租涫疼迟=function(){ Stage.scaleMode="showAll";}btn_exactfit.onPress=function(){ Stage.scaleMode="exactFit";}btn_noscale.onPress=function(){ Stage.scaleMode="noScale";}

7、选择充满窗口模式,会不等比例填充整个窗口。
