erik leeman wrote:Hi Sascha,
You can give your fullscreen button a 'toggle' functionality, so the first mouseclick will make the pano go fullscreen, the second will make it small again, the third fullscreen, etc.etc.
But besides any interface you may make yourself there is always the [Escape] button on your keyboard that will force a fullscreen Flash image back to normal. The downside of the [Escape] button is that its use will mess up the synchronization of your fullscreen toggle button's graphics.
Hi Erik.
Thank you for answering, but you didn´t get me right. I don´t have problems with fullscreen-mode, I can handle this in any way, but I have a problem to quit the application.
I start the panorama from a flash-projector-exe, this projector starts fullscreen.
There are three ways to quit this applications: Alt+F4, Esc (to quit fullscreen) > close window with mouse (tihs is not suitable for me, I have a onEnterFrame fullscreen-commad, whenever I quit fullscreen, it´s set back to fullscreen immediately) and a button with the function fscommand("quit").
The button is what I need. I can do it directly in Flash (not in Pano2VR), but then this button is not part of the Pano2VR-interface, therefore I cannot put this button into a Pano2VR-container to show and hide the UI.
So what I need is a "quit"-command inside Pano2VR. Or the ability to add any custom AS3 command to a button, so that I can do the fscommand by myself (I´m AS3 newbie, so I don´t know if this will work - I don´t know when wich classes at what point have to be imported...).
Thomas, I think you know what I mean?
Best regards.
Sascha