klevitt
March 8th, 2009, 01:07 PM
Hello,
I want my swf file to open on a standalone Flash player on my computer to fullscreen but with no borders.
I have tried using the StageScaleMode class but it keeps giving me an error. Below are two variations on how I've been trying to use it.
1)
import flash.display.StageScaleMode;
in constructor:
stage.StageScaleMode = "noBorder";
error:
1119: Access of possibly undefined property StageScaleMode through a reference with static type flash.display:Stage.
I want my swf file to open on a standalone Flash player on my computer to fullscreen but with no borders.
I have tried using the StageScaleMode class but it keeps giving me an error. Below are two variations on how I've been trying to use it.
1)
import flash.display.StageScaleMode;
in constructor:
stage.StageScaleMode = "noBorder";
error:
1119: Access of possibly undefined property StageScaleMode through a reference with static type flash.display:Stage.