ActionScript
--------------------------------------------
import flash.external.*;
function init(){
hy_mc._visible = false;
}
qp_mc.onPress = function(){
Stage["displayState"]="fullScreen";
qp_mc._visible = false;
hy_mc._visible = true;
hy_mc._x -=72;
}
hy_mc.onPress = function(){
Stage["displayState"]="normal";
hy_mc._visible = false;
qp_mc._visible = true;
hy_mc._x +=72;
}
Stage.scaleMode = "noScale";
Stage.align = "TL";
Stage.addListener(this);
init();
--------------------------
html
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-44455354000012"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="740" height="530" id="swf" align="middle">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie"
value="<%=basePath%>flash/full.swf" />
<param name="quality" value="high" />
<param name="FlashVars"
value="swf_source=<%=basePath%><%=fp.getSwfurl()%>&swf_w=700&swf_h=530">
<param name="bgcolor" value="#fff" />
<embed src="<%=basePath%>flash/full.swf"
quality="high" bgcolor="#fff" allowFullScreen="true"
FlashVars="swf_source=<%=basePath%><%=fp.getSwfurl()%>&swf_w=700&swf_h=530"
width="740" height="530" name="large_buttons" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
--------------------------------------------
import flash.external.*;
function init(){
hy_mc._visible = false;
}
qp_mc.onPress = function(){
Stage["displayState"]="fullScreen";
qp_mc._visible = false;
hy_mc._visible = true;
hy_mc._x -=72;
}
hy_mc.onPress = function(){
Stage["displayState"]="normal";
hy_mc._visible = false;
qp_mc._visible = true;
hy_mc._x +=72;
}
Stage.scaleMode = "noScale";
Stage.align = "TL";
Stage.addListener(this);
init();
--------------------------
html
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-44455354000012"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
width="740" height="530" id="swf" align="middle">
<param name="allowFullScreen" value="true" />
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie"
value="<%=basePath%>flash/full.swf" />
<param name="quality" value="high" />
<param name="FlashVars"
value="swf_source=<%=basePath%><%=fp.getSwfurl()%>&swf_w=700&swf_h=530">
<param name="bgcolor" value="#fff" />
<embed src="<%=basePath%>flash/full.swf"
quality="high" bgcolor="#fff" allowFullScreen="true"
FlashVars="swf_source=<%=basePath%><%=fp.getSwfurl()%>&swf_w=700&swf_h=530"
width="740" height="530" name="large_buttons" align="middle"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>