Quantcast
Channel: Adobe Community : All Content - Adobe Animate CC - General
Viewing all articles
Browse latest Browse all 13519

Flash exe projector - full screen issue with video player component

$
0
0

I am creating a Flash program that will be displayed on a touch screen kiosk, so I am creating a .exe projector that needs to display full screen on the monitor. I am using this code to make the stage go to full screen mode:

 

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;

}

 

Works fine except when I navigate to a section of the program with video that plays in a component video player. When it loads that section with the video player, the video player scales to full screen also - taking over the entire area.

 

How do I keep the video player component from also going full screen?


Viewing all articles
Browse latest Browse all 13519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>