Question
fullscreen and noscale using AS3.0
I'm attempting to create a projector that will go fullscreen
and without scaling using AS 3.0
In AS 2.0 I simply did this:
fscommand("allowscale", false);
fscommand('fullscreen",true);
Worked every time...
I've tried a few things, like the following:
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
stage.scaleMode = StageScaleMode.NO_BORDER;
stage.align = StageAlign.EXACT_FIT;
But it ignors the code.
I have had success with the following:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
Suggestions???
In AS 2.0 I simply did this:
fscommand("allowscale", false);
fscommand('fullscreen",true);
Worked every time...
I've tried a few things, like the following:
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
stage.scaleMode = StageScaleMode.NO_BORDER;
stage.align = StageAlign.EXACT_FIT;
But it ignors the code.
I have had success with the following:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
Suggestions???