Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Fullscreen in win projector exe file

Explorer ,
May 24, 2011 May 24, 2011

I have two seperate machines I work on. Is it possible to have a true fullscreen? It was possible in as2, but all examples I've seen on this forum haven't worked. I will not be using an accompanying html file, I will be publishing to exe. Really stuck here!

TOPICS
ActionScript
2.3K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , May 24, 2011 May 24, 2011

Then if you wish it to allow scaling, then do so.

Import in:

import flash.display.StageScaleMode;

and in the fullscreen function add:

stage.scaleMode = StageScaleMode.EXACT_FIT;

or

stage.scaleMode = StageScaleMode.SHOW_ALL;

Translate
LEGEND ,
May 24, 2011 May 24, 2011

import flash.events.Event;

import flash.display.StageDisplayState;

stage.addEventListener(Event.ENTER_FRAME,_fullScreen);

function _fullScreen(e:Event):void

{

   stage.removeEventListener(Event.ENTER_FRAME,_fullScreen);

   stage.displayState = StageDisplayState.FULL_SCREEN;

}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 24, 2011 May 24, 2011

Full screen in a projector will only go true fullscreen with the bk of the flash file filling the entire space (independent of resolution) with specific coding or run through an html file. I developed typically for a board that runs at 1024x768. On my monitor now I get two white spaces running down each side of the flash projector file. So not a true fullscreen.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 24, 2011 May 24, 2011

Then if you wish it to allow scaling, then do so.

Import in:

import flash.display.StageScaleMode;

and in the fullscreen function add:

stage.scaleMode = StageScaleMode.EXACT_FIT;

or

stage.scaleMode = StageScaleMode.SHOW_ALL;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 25, 2011 May 25, 2011
LATEST

bingo thats it! the exact fit line worked perfectly!

Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 24, 2011 May 24, 2011

If this is a projector there should be no issue fullscreening the application. It involves no security or flash settings.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines