Question

I create a flash interface for CD that contains some buttons that open some word documents.I use fscommand for open files.

fscommand("exec", "documnet.doc");

But after document open the flash document resized from fullscreen.

the Question is: How I can make flash document (swf or exe) still fullscreen after focusing another program or open another program?

Was it helpful?

Solution

You may add an event listener to the stage. So, when the stage is activated you will reenter full screen mode. Try this code:

stage.addEventListener(Event.ACTIVATE, 
  function(event:Event) { 
    trace("Enter full screen");  
  } 
);

You may choose another events that more suitable to your project from list of events dispatched by the 'stage' object. (Don't forget to show all inherited events.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top