10 Replies Latest reply on Jun 26, 2008 12:25 PM by Scott_K

    EXE for Kiosk, how to fill screen?

    Scott_K
      How can we make the Flash exe fullscreen.
      We are using Flash for a touch screen Kiosk.
      If we go fullscreen, the user cannot click on anything, nor do they have a keyboard to type "escape".
      How do we fill the screen without the Flash Player showing?
      Also video playback, for this HD monitor, seems poor unless we are full screen and playing an EXE rather than a SWF.
        • 1. Re: EXE for Kiosk, how to fill screen?
          RossRitchey Level 4
          Place this line of code in the first frame actions:

          fscommand("fullscreen",true);
          • 2. Re: EXE for Kiosk, how to fill screen?
            Scott_K Level 1
            If we go fullscreen, the user cannot click on anything, nor do they have a keyboard to type "escape".
            • 3. Re: EXE for Kiosk, how to fill screen?
              Scott_K Level 1
              We need to still respond to mouse events (the user touching the screen).
              • 4. Re: EXE for Kiosk, how to fill screen?
                Scott_K Level 1
                It would almost work if we could enlarge the Flash player larger than the screen and position it so the sides and top menu bar were not showing, but the app starts up off centerk when in the player.
                • 5. Re: EXE for Kiosk, how to fill screen?
                  RossRitchey Level 4
                  MouseEvents should still fire after you go fullscreen.

                  There could be issues if your code depends on the position of things on the stage, and you are using:

                  stage.scaleMode = "noScale";
                  stage.align = {{anything but}}"TL";

                  I have noticed that once the player goes fullscreen, the "stage" object is the entire screen, not the stage that was in the Flash IDE, and, therefore, if the stage is aligned to the center, the 0,0 of the stage becomes the upper left corner of the screen, not the actual 0,0.....

                  If you want the users to be able to exit out of the application, without a keyboard, then all you need to do is add a button to close it, using the quit fscommand.

                  fscommand("quit");
                  • 6. Re: EXE for Kiosk, how to fill screen?
                    Scott_K Level 1
                    on our system the mouse events are not processed in full screen mode, are you using Flash CS3?
                    • 7. Re: EXE for Kiosk, how to fill screen?
                      RossRitchey Level 4
                      I just built a very simple project in Flash CS3 (Actionscript 3) to test this:

                      on the stage I placed a MovieClip called "btn" and a textField called "txt"

                      import flash.events.MouseEvent;

                      fscommand("fullscreen","true");

                      btn.addEventListener(MouseEvent.CLICK,doClick);

                      function doClick(evt:MouseEvent):void {
                      txt.text = "The mouse event worked";
                      }

                      Then I published it as an EXE and ran it. The mouseEvent fired fine in fullscreen mode.

                      Next I converted it to an AS2 project:

                      fscommand("fullscreen","true");

                      btn.onPress = function(){
                      txt.text = "The mouse event worked";
                      }

                      .. and published it as an EXE. The click function fired no problem. So, I am guessing that the problem is with the touch-screen software (that which tells the computer that a mouse event happened when the screen is touched). Sounds like a compatibility issues between the fullscreen command and the touch-screen

                      I might look into support from the touch-screen manufacturers, as well as continue the search for some sort of note about this in the flash community.
                      • 8. Re: EXE for Kiosk, how to fill screen?
                        Level 7
                        We haven't tired it but try using FlashJester Jugglor this might help you.

                        Download a FREE evaluation copy from

                        http://www.jugglor.com

                        and bring your projector file into Jugglor.

                        Try the various Window Options in Setup Settings.

                        Hope it helps.


                        --
                        Regards
                        FlashJester Support Team

                        e. - support@flashjester.com
                        w. - www.flashjester.com

                        "This has been one of the most impressive and thoroughly pleasant
                        experiences of customer support I have ever come across - astounding!"
                        Director - hedgeapple

                        • 9. Re: EXE for Kiosk, how to fill screen?
                          CHAOS'|nc. Level 1
                          but the evaluation version lets us save it?
                          • 10. Re: EXE for Kiosk, how to fill screen?
                            Scott_K Level 1
                            I did try it. It was interesting, but I need the Kiosk to play on a Mac Mini.

                            What I have working now, is, Adode AIR. I now have a native application that I can maximize with a transparent window background, and thus I have my Kiosk screen.