Page 1 of 1

Search box doesn´t work in flash Full Screen mode

Posted: Fri Apr 05, 2013 10:45 am
by alfonso_ortega

I am trying to embed a PrintToFLash document in Flash ussing the AS3 code provided by you. Everything works fine, except the search box tool and the goto page tool. My Flash movie executes, in the very first lines of code: stage.displayState = StageDisplayState.FULL_SCREEN.

When the Movie is in FullScreen mode, the user can´t write in the search and the gotopage tools. I have to press the Escape key to allow the user to write in these fields. Is there any fix or workaround you know to this situation?

This are the code that I´m using:

Code: Select all

// importamos las clases necesarias
import flash.display.Stage;
import flash.display.StageDisplayState;
import Print2Flash.*;
import flash.ui.Mouse;

var paginas:Number;

stage.displayState = StageDisplayState.FULL_SCREEN;

// cargue del documento P2F
var P2FDocLoader:Print2FlashDoc3=new Print2FlashDoc3("pisc.swf",258,50,765,716,this);
P2FDocLoader.addEventListener(Print2FlashDoc3.ONLOADEVENT, OnLoaded);

var P2FDoc:MovieClip;

function OnLoaded(e:Event) {

present.addEventListener (MouseEvent.CLICK, paginar1);
pisc.addEventListener (MouseEvent.CLICK, paginar2);
momI.addEventListener (MouseEvent.CLICK, paginar3);
momII.addEventListener (MouseEvent.CLICK, paginar4);
momIII.addEventListener (MouseEvent.CLICK, paginar5);
momIV.addEventListener (MouseEvent.CLICK, paginar6);
momV.addEventListener (MouseEvent.CLICK, paginar7);
momVI.addEventListener (MouseEvent.CLICK, paginar8);

function paginar1 (evento:MouseEvent):void{
	txt_cap.text="Presentación e Introducción";
function paginar2 (evento:MouseEvent):void{
	txt_cap.text="El Plan Integral de Seguridad y Convivencia Ciudadana (PISCC)";

function paginar3 (evento:MouseEvent):void{
	txt_cap.text="Conocimiento del marco normativo y de políticas públicas";

function paginar4 (evento:MouseEvent):void{
	txt_cap.text="Elaboración del diagnóstico de la situación de seguridad y convivencia ciudadana";
function paginar5 (evento:MouseEvent):void{
	txt_cap.text="Formulación estratégica del PISCC";

function paginar6 (evento:MouseEvent):void{
	txt_cap.text="Planeación financiera y operativa";

function paginar7 (evento:MouseEvent):void{
	txt_cap.text="Implementación y seguimiento del PISCC";

function paginar8 (evento:MouseEvent):void{

Thank you in advance.

Alfonso Ortega

Re: Search box doesn´t work in flash Full Screen mode

Posted: Fri Apr 05, 2013 5:45 pm
by staff
You need to switch your application not to “full screen” mode but to “interactive full screen” mode in order to achieve this:

Code: Select all

stage.displayState = "fullScreenInteractive";
Also, you need to have the Flash Player 11.3 or a higher version for this function to work.

Re: Search box doesn´t work in flash Full Screen mode

Posted: Fri Apr 05, 2013 8:39 pm
by alfonso_ortega
Hello again.

Thanks for your reply. I tried the new code and does not work. Also, I have to make a multimedia CD, and the main movie is an executable file. I have to ensure that the CD is fully functional in earlier versions of Flash Player.

Is there any other possible solution? If I use AS2 there any code I can use?

Thanks in advance.

Alfonso Ortega

Re: Search box doesn´t work in flash Full Screen mode

Posted: Fri Apr 05, 2013 10:12 pm
by staff
This is a limitation of Adobe Flash Player before version 11.3. Earlier versions of the Flash Player do no support keyboard in full screen mode (see this Adobe help page: ... splayState).

It is strange that this code still does not work for you. If you embed your Flash movie in an HTML page, make sure that you specify allowFullScreenInteractive parameter in HTML code like this:

Code: Select all

<object ...>
<param name="allowFullScreenInteractive" value="true"/>
<embed allowFullScreenInteractive="true" .../>