Multiple JavaFX stages in fullscreen mode

I have an application that contains two stages which should be shown on two different screens both in fullscreen mode. I managed to position the two stages on seperate screens, and tried to set the fullscreen property to true on each Stage, but only of them is shown without decoration. It is always the one that has the fullscreen property set last that is shown in fullscreen mode.
Is it not possible in JavaFX 2.2 to have multiple stages in fullscreen mode at the same time?

Is it not possible in JavaFX 2.2 to have multiple stages in fullscreen mode at the same time?This I do not know. My app has also 2 stages, displayed fullscreen on both monitors. To achieve this, I retrieve the screen resolutions and then I set the size accordingly..what is the benefit of fullsceen-mode ?

Similar Messages

  • In fullscreen mode, is there a way to prevent the page from shifting down when displaying the menu and tabs?

    In fullscreen mode (F11), when moving the mouse toward the top of the screen to display the tabs & stuff, the page displayed is shifted down. This makes it annoying when returning down with the mouse - you want to reach a certain link, for example, but your target gets shifted up once the tabs & stuff is hidden back.
    Is there any way to make the tabs & stuff display 'above' the page content, like on another layer?

    Is it the web page display that is changing its own position, or is it something
    about the toolbars that is pushing the page down? I have the same issue with
    my browser using an add-on to show a multiple line bookmark bar.

  • Help about importing files and fullscreen mode

    Hi,
    sorry but i'm kinda new about this. I'm creating a kiosk for my company which uses a touchscreen PC like what you see in the malls right now i.e directory. Im using flash cs5 and AS3. My problem is when I imported video / swf file in my stage (which is in full screen when loaded in projector), the video / swf file automatically change to full screen also. What I like to do is even if my window is in full screen mode, the video will still be the same what I set it to be. For you to imagine what im doing is in my homepage, my buttons would be video/swf files placed side by side. Once I click on one video it will go to another scene just like a website. I tried to google about this but no luck, all i find is how to import. These are the codes i used to load my project in fullscreen mode automatically.
    var main:Stage = this.stage;
    main.scaleMode = StageScaleMode.NO_SCALE;
    main.scaleMode = StageScaleMode.EXACT_FIT;
    main.align = StageAlign.TOP;
    main.displayState = StageDisplayState.FULL_SCREEN;
    Hope you can help me on this. Thanks in advance for those who will help.
    Thank you
    -Arjae

    thanks andrei. but it still doesn't solve my problem.
    var main:Stage = this.stage;
    main.scaleMode = StageScaleMode.NO_SCALE;
    //main.scaleMode = StageScaleMode.EXACT_FIT;
    main.align = StageAlign.TOP;
    main.displayState = StageDisplayState.FULL_SCREEN;
    as u have said, i remove scale_fit line but still in full screen. when I run s swf file the video automatically converted to full screen. what i only want to make full screen is the stage where the video is located. is there some command i need to do on this? I tried to use this using AS2 and its ok, the video didn't go full screen even the stage itself is in fullscreen. but i really want to use AS3 because of some features. If you can help, it will be great. Thanks lot!

  • Runnng external swf Actionscript while in fullscreen mode

    I am using Flash 9.0 (CS3 Pro). I am coding in Actionscript
    3.0
    I have two swf files, both interactive. During playback of
    the, a mouse event launches the second. I also want the mouse event
    to trigger a switch to fullscreen mode. The second swf is
    non-linear and requires user input to jump to the appropriate frame
    of the timeline. Everything tests and runs perfectly during
    standard screen mode but whenever I try to load and play the
    external swf file in fullscreen mode, Flash recognizes the
    actionscript built into the original SWF but ignores all of the
    Actionscript (this.stop(), this.gotoAndPlay(), etc.) embedded in
    the second (external) swf file.
    How can I get external swf files to load with their scripted
    functionality in fullscreen mode?
    Thanks for the help.
    Aaron
    The code I am using is:
    // --- this is the code contained in the first swf file
    // function to launch second SWF file
    function movieLaunch(event:MouseEvent):void
    // Sets display mode to fullscreen. With this line present,
    Flash does not look at any Actionscript in ip.swf
    // If I comment the below line out, the second SWF plays
    correctly and has full functionality
    stage.displayState = "fullScreen";
    // load and launch second movie (ip.swf) which is located in
    the same directory
    var request:URLRequest = new URLRequest("ip.swf");
    var loader:Loader = new Loader();
    loader.load(request);
    addChild(loader);
    // Sets the listener for the button that will launch the
    second movie.
    launchMovieButton.addEventListener(MouseEvent.CLICK,
    movieLaunch);
    Text

    The keyboard is disabled in fullscreen mode. This may be
    causing the problem?

  • Bug's found in fullscreen mode.

    Hello i have discovered a bug in flash or in iexplorer the
    fullscreen mode.
    Problem 1: onMouseUp event fails in fullscreen mode (when
    published in html mode).
    First of all, when i placed a button on the stage to go
    fullscreen the onMouseUp event will not be triggered.
    I only listens to the onMouseDown event. Fortuneately the
    event of the button (onRelease) will be triggered so i have found a
    work around for this. This effect happens when published to an html
    only. In firfox and IExplorer.
    Problem 2: When using a custom mouse in fullscreen mode, the
    mouse will go very slow or shocking..
    The second bug has to do with some rendering i think. The
    strange thing is when you run the swf localy and you are in
    fullscreen mode the mouse will move smooth. But when i publisch it
    to html mode and upload this html and look it online, the custom
    mouse will move very slow and not smooth. In firefox it moves a lot
    better..
    Has anyone experienced this problem too and find a work
    around?
    To expierence this problem look at my website :
    flash website with
    custom mouse
    I hope someone has a solution.. (i also removed the effects
    like blur and motion on the custom mouse ..but still the mouse will
    moves not smooth).
    Regards.

    I can see the menu if I select the screen mode "Full Screen with Menu Bar"
    Additionally, why don't you just hit Cmd + Tab (mac) or Alt + Tab (Win) to switch between applications quickly?

  • How to switch fullscreen mode with normal mode in OSMF with mediacontainer and mediaplayer?

    i use OSMF to make a video player ,use the mediacontainer and mediaplayer ,all works right but to switch from normal to fullscreen mode ,i don't know how ?
    because my videoplayer can be resized with some ratio ect 50%.
    anyone do something similar to this? any help?
    thanks very much!

    I did this:
    public function toggleFullScreen( event:Event=null ):void
    if( this.stage.displayState == StageDisplayState.NORMAL )
    // set full screen display
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
    $playerInstance.width = $stage.fullScreenWidth;
    $playerInstance.height = $stage.fullScreenHeight;
    bg.height = $stage.fullScreenHeight;
    $playerInstance.addChild(controlBar2);
    LayoutMetadata($playerInstance.media.getMetadata(LayoutMetadata.LAYOUT_NAMESPACE)).scaleMo de= ScaleMode.ZOOM;
    var resultRect:Rectangle = new Rectangle(0, 0, $stage.fullScreenWidth, $stage.fullScreenHeight);
    stage.fullScreenSourceRect = resultRect;
    this.stage.displayState = StageDisplayState.FULL_SCREEN;
    else
    $playerInstance.width = 600;
    $playerInstance.height = 400;
    $playerInstance.mediaContainer.width = 600;
    $playerInstance.mediaContainer.height = 400;
    LayoutMetadata($playerInstance.media.getMetadata(LayoutMetadata.LAYOUT_NAMESPACE)).scaleMo de= ScaleMode.LETTERBOX;
    bg.height = 400;
    // set normal display
    stage.fullScreenSourceRect = null;
    this.stage.scaleMode = StageScaleMode.NO_SCALE;
    this.stage.displayState = StageDisplayState.NORMAL;

  • How was this done? Fullscreen mode?

    How did they do the fullscreen mode?
    http://www.sasokos.com
    Thanks a lot!

    type 'fullscreen' into flash help search and click on the
    first item under Programming ActionScript 3.0, 'Setting Stage
    Properties' and look at 'Working with full-screen mode'.
    Or have a look at adobe articles, for example,
    here.

  • Fullscreen mode broken on OS X

    If you try the following code in AIR for OS X and Windows you find that Windows correctly DOES NOT fire the ACTIVATE event when fullscreen is executed but OS X does:
    window.nativeWindow.visible = true;
    window.nativeWindow.stage.displayState = runtime.flash.display.StageDisplayState.FULL_SCREEN_INTERACTIVE;
    window.nativeWindow.addEventListener(air.Event.ACTIVATE, function() {
      air.trace('ACTIVATE');
    window.nativeWindow.addEventListener(air.Event.DEACTIVATE, function() {
      air.trace('DEACTIVATE');
    I've filed a bug for it in bugbase... but not sure how long Adobe take to fix bugs in AIR... and this is preventing my app from working as expected.
    The reason is because I need to fire the fullscreen mode on activation of the window (fired after a user has deactivated the window) so it forces fullscreen mode for the app.
    window.nativeWindow.addEventListener(air.Event.DEACTIVATE, function() {
    air.trace('DEACTIVATE');
    window.nativeWindow.minimize(); // this hides the window
    window.nativeWindow.addEventListener(air.Event.ACTIVATE, function() {
      air.trace('ACTIVATE');
      window.nativeWindow.stage.displayState = runtime.flash.display.StageDisplayState.FULL_SCREEN_INTERACTIVE; // reshows the window and makes it fullscreen
    This works perfectly on Windows. But because OS X fires the event on fullscreen, it calls fullscreen again... and occasionally creates duplicate windows (which is another bug that only happens on OS X if fullscreen is called more than once and doesn't happen on Windows - again filed on bugbase).
    Any ideas on how I can get around this in the mean time, until Adobe fixes the bugs?

    Any updates? The bugs haven't had any progress on them over at bugbase either. Thanks.

  • MenuButton (or ChoiceBox) in fullscreen mode

    Hello,
    I am trying to use a MenuButton while my stage is in fullscreen mode. Unfortunately the layouting of the MenuItems after clicking the MenuButton is not correct.
    Is there a solution for this problem or is it a bug ?
    thanks!!

    I'm not sure what the current road map is (does anyone actually know when the next release is due out?) but at a guess I'd say it won't be in the next two weeks.
    I'm a few beers into Friday, so just a quick starter for you here. See how you go with this extremely rough code as a starting point, and maybe come back with the areas that you are having trouble sorting out. I couldn't find any Node.getLocationOnScreen, or the like, and Popup.show seems to work off screen coordinates (despite taking a Node as parameter) - I'd need to take a deeper look into the API, but maybe someone else will chime in with that piece of the puzzle?
    public class TestApp extends Application
        public static void main(String[] args) throws Exception
            launch(args);
        public void start(Stage stage) throws Exception
            Group rootNode = new Group();
            CustomCheckBox checkBox = new CustomCheckBox("Koala", "Kangaroo", "Platypus");
            checkBox.setLayoutX(200);
            checkBox.setLayoutY(100);
            rootNode.getChildren().add(checkBox);
            Scene scene = new Scene(rootNode, 800, 600);
            //scene.getStylesheets().add("styles.css");
            stage.setScene(scene);
            stage.setFullScreen(true);
            stage.show();
        private class CustomCheckBox extends Button
            private Popup popup;
            private StringProperty selectedItem;
            private CustomCheckBox(String... items)
                selectedItem = new SimpleStringProperty();
                popup = new Popup();
                popup.setAutoHide(true);
                VBox menu = new VBox();
                for (final String item : items)
                    Button menuItem = new Button(item);
                    menuItem.setOnAction(new EventHandler<ActionEvent>()
                        public void handle(ActionEvent actionEvent)
                            setText(item);
                            selectedItem.set(item);
                            popup.hide();
                    menu.getChildren().add(menuItem);
                popup.getContent().add(menu);
                setOnAction(new EventHandler<ActionEvent>()
                    public void handle(ActionEvent actionEvent)
                        popup.show(CustomCheckBox.this,
                                getBoundsInParent().getMinX(),
                                getBoundsInParent().getMaxY());
            public StringProperty selectedItemProperty()
                return selectedItem;
            public String getSelectedItem()
                return selectedItem.get();
    }

  • -Xtoolkit prism and fullScreen mode

    When I run my program with -Xtoolkit prism vm argument I can't run in fullScreen mode, the program just ignores the fullScreen: true in my stage. Is this a bug?

    Reminder: the Prism toolkit is experimental on the desktop, and should be used only for experimentations. So, yet, expects bugs, limitations, unfinished things, etc.

  • Temporarily show tab bar upon switching tabs with the keyboard in fullscreen mode

    I use Firefox in fullscreen mode and switch tabs with Ctrl + PgUp/PgDn. I need to peek at the tab bar when I switch tabs, to avoid searching for the desired tab with multiple shortcut presses.
    Is there a way to temporarily show the tab bar when I switch tabs with the keyboard shortcut? I want the tab bar to hide again after, say, 2 seconds of no tab switching.

    You can try to set the focus to the location bar with Ctrl+L before switching the tabs to make the toolbar and tab bar appear.

  • Cannot have multiple flvplayback instances using fullscreen

    Hello,
    I am using AS3 with CS5. I created a flash project which contains multiple instances of flvplayback. Each plvplayback plays a separate video and each has its own controls. It all works fine when playing, pausing and controlling the videos. The problem is with the fullscreen functions. If I click the fullscreen button on the first flvplayback, it makes the second video go full screen. If I click the second video fullscreen button, it opens fine into its own video except when I do it three to four times. After three to four times of toggling fullscreen on the second video, it opens the first video into the browser larger than its original size but not full screen. I have tried recreating the flvplayback instances by re-importing the video files. Each flvplayback has been given its own instance name. Even when I create a separate custom button, not part of flvplayback, and give it the command to launch fullscreen on the first video, it still opens the second video to fullscreen. When I use just one video and remove the other ones, toggling fullscreen works fine for that particular video.
    I don't understand what it is going on. This is a very strange problem. Maybe I'm missing something basic so if someone can please help me on this I would greatly appreciate it.
    Thanks,
    Kris

    Using fullScreenTakeOver=false prevents only the case that flvplayback become fullscreen by  stage.displayState='fullScreen' .  
    I'm also seeking for a solution for this bug, unfortunately no luck so far.

  • BUG mouse move event on stage in fullscreen

    Hi everybody,
    I have a video player witch can use fullscreen mod, when user click on fullscreen button, player switch in this mod, so, when user move his mouse on stage, playerControls appear.
    My problem :
    on Windows : in enterFullscreen event handler, i listen MOUSE_MOVE event on stage, the problem is that the MOUSE_MOVE is fire, even if the user doesn't move mouse, mouse coordinate change, yes, but i think mouse_move event should be not fire...
    the problem not appear on Mac.
    Sorry for my bad english.
    stage.addEventListener(FullScreenEvent.FULL_SCREEN, onEnterFullscreen);
    public function onEnterFullscreen(e:FullScreenEvent):void {
         stage.addEventListener(MouseEvent.MOUSE_MOVE,moveHandler);
    public function moveHandler(e:MouseEvent):void {
    Thanks in advance for your help

    Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code or an application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others affected can add their comments and votes.
     

  • Select part for fullscreen mode?

    I'd like to define the rectangle part of my flex3 app that i
    want to see in fullscreen mode, without having to arrange all my
    layout with states transitions or resizing or visible=true/false
    etc... Is that possible? Any idea?
    (I'm in a papervision3D scene with videos and want to see the
    full default video only in fullscreen).
    Phil

    It is a classic to find your anser just after posting...
    stage.fullScreenSourceRect = new Rectangle(0,0,320,240);
    Hardware scaling:
    http://livedocs.adobe.com/flex/3/html/help.html?content=05_Display_Programming_10.html
    Phil

  • Stage["displayState"]="fullScreen";

    ok i saw that examples on adobe labs and i make fullscreen
    now in context menu and with button but i want when my site is
    started i want it to go in full screen mode automatic ,is it
    possible? i try this but in html it doesnot works
    Stage["displayState"]="fullScreen";

    no.

Maybe you are looking for

  • CALL_FUNCTION_NOT_FOUND

    Since January, some data missing in EWA report (e.g. performance data), and I found some short dump in ST22 with CALL_FUNCTION_NOT_FOUND. I found in source systems and those data capture successfully. How can I let the SolMan read those information b

  • Boot camp 2.1 problems, win xp pro sp3

    I have just bought a MBP, 17" and I am running Windows XP Pro, Service Pack 3. With the included boot camp driver everything except the function keys worked. Although the (fn+backspace = delete) worked, no other function keys worked (can't raise or l

  • Can't delete files and need to restart lightroom

    hello have you ever seen this problem? when using lightroom 1.3.1 on PC, I can't delete files. Lightroom doesn't work and i need to restart the program. Thanks for your answers

  • How to set a folder option for individual folders

    This was not an issur for previous Mac OS, but for Marvericks I seem not to be able to save a folder option for individual folders.  So, when I change a view option, say, to "View as Icon" for a folder and close it, all other folders also show in the

  • T7900 remote screwed...

    Hey. I bought a Creative Inspire T7900 with my dell computer, and now i have a problem with the sound system(which is covered by dell), but i hoped for a quicker answer here before i asked them. The bass in my sound dissapears sometimes when i use th