简体   繁体   中英

actionscript-3 fullscreen flash projector

is it possible to make fluid layout (fullscreen limited stage) for a win projector but if we click the fullscreen button, the stage will fill the entire screen, how? need helps!!!

I've tried

fscommand("fullscreen", "true");
fscommand("allowscale", "false");

but the result not good

look the picture on my same question at http://www.actionscript.org/forums/showthread.php3?p=1148246#post1148246

Add these settings by default:

stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;

And this for your fullscreen action:

stage.displayState = StageDisplayState.FULL_SCREEN;

May be you have to use this code on the first frame

import flash.display.StageScaleMode;
play ();
stage.displayState = StageDisplayState.FULL_SCREEN;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM