[Tools][Expand/Collapse All]Note that automatic extraction of ActionScript 3 is still pretty much unsupported by swfchan. AS1/AS2 works okay most of the time.Frame 1 (418 B)
function toggleFullScreen() {
if (Stage.displayState == "normal") {
Stage.displayState = "fullScreen";
} else {
fscommand ("quit", true);
}
}
Stage.displayState = "fullScreen";
this.toggleFullScreenButton._width = 8000;
this.toggleFullScreenButton._height = 8000;
Stage.align = "TL";
var resizeListener = new Object();
resizeListener.onResize = function () {
};
Stage.addListener(resizeListener);
Symbol 5 Button (35 B)
on (press) {
toggleFullScreen();
}