How to change Fullscreen button to Exit Fullscreen on toggle
-
- Posts: 20
- Joined: Fri May 29, 2009 12:52 am
Is this possible: while viewing in normal screen mode to have the button "view fullscreen" and then when in fullscreen mode have the button change to "exit fullscreen". Currently I am using a generic button with arrows to indicate enter/exit fullscreen using the Toggle Fullscreen Action/Modifiers but would rather have two different buttons with text to toggle between. Thanks in advance for any ideas.
-
- Posts: 20
- Joined: Fri May 29, 2009 12:52 am
Thanks Smooth,
I'm with you for the first 2 steps but can't seem to get the third step of "Then reverse it to set it back again." The first click to "view full screen" reveals the "exit full screen" button fine but when that is clicked it goes back to normal screen without any buttons. I tried adding an extra action to the buttons to "Toggle Element Visibilty" of the other but it doesn't work. I've attached the skin and buttons if anyone has a chance to see what I'm doing wrong. Thanks!
I'm with you for the first 2 steps but can't seem to get the third step of "Then reverse it to set it back again." The first click to "view full screen" reveals the "exit full screen" button fine but when that is clicked it goes back to normal screen without any buttons. I tried adding an extra action to the buttons to "Toggle Element Visibilty" of the other but it doesn't work. I've attached the skin and buttons if anyone has a chance to see what I'm doing wrong. Thanks!
- Attachments
-
- view_full_screen.png (501 Bytes) Viewed 6959 times
-
- exit_full_screen.png (452 Bytes) Viewed 6959 times
-
- test.ggsk
- (2.52 KiB) Downloaded 274 times
The method outlined by Smooth will work for other toggle actions, such as Auto Rotate, but will fall apart in your instance if the viewer exits fullscreen mode by pressing their keyboard's 'Escape' key. Then the wrong button will be left visible.
Currently there seems to be no way to overcome this with Pano2VR - unless someone can tell us otherwise?
Regards
Andrew
Currently there seems to be no way to overcome this with Pano2VR - unless someone can tell us otherwise?
Regards
Andrew
-
- Posts: 20
- Joined: Fri May 29, 2009 12:52 am
Ah, I didn't consider that possible circumstance. Thanks
I would suggest you place a request with Thomas, the pano2vr author, to incorporate that in the future release. I don't see it to be too much of a problem, because it's quite simple from the action script perspective. We use it all the time, literally.... simple events listener monitoring the stage changes and toggling the buttons back and forth. It could be a bit tricky tho to find universal action to facilitate all kind of custom and different buttons that we all do for our navigation interface. So perhaps Thomas could come up with one that works just like the built in preloader option. Add a ready made fullscreen button to stage and then customize the look using the property editor, to match with the navigation theme...
regards
Sebastian
regards
Sebastian
Here is your .ggsk modified to work.
You are though assuming people actually use the ESC key or for that matter YOUR button. What "real public" use vs "us" who put these things together are two different things.
It is NOT possible to change in anyway or remove the Flash message you see when changing to full screen mode.
That said, Tourweaver has no problem knowing what state the tour/panorama scene size is in. So if they can offer it I'm sure it is also possible for Thomas to code up Pano2VR to do the same.
We look forward to this feature being added.
Regards, Smooth
The issue with "change state" not being recognised by pressing the ESC key is a long going issue. Things can get out of sink.
You are though assuming people actually use the ESC key or for that matter YOUR button. What "real public" use vs "us" who put these things together are two different things.
It is NOT possible to change in anyway or remove the Flash message you see when changing to full screen mode.
That said, Tourweaver has no problem knowing what state the tour/panorama scene size is in. So if they can offer it I'm sure it is also possible for Thomas to code up Pano2VR to do the same.
We look forward to this feature being added.
Regards, Smooth
-
- Posts: 20
- Joined: Fri May 29, 2009 12:52 am
That's awesome! I just downloaded your reworked skin. Thanks Smooth!
-
- Posts: 54
- Joined: Tue Mar 16, 2010 11:15 pm
Oups! It does not work on my Mac. I used Pano2VR 64 bit. I will try with a different version of Pano2VR.
-
- Posts: 54
- Joined: Tue Mar 16, 2010 11:15 pm
I also checked with version 2.2.3 and 2.3.1 same result. The fullscreen mode does not work! Tried with Safari on a Mac.