RE: [Flashcoders] Flash fullscreen in a JavaScript app?
I'm betting that's IE only because of the ActiveXObject. - MM I found this from one of the links. Not sure if its cross-browser or not. May only be IE. Have not tested, but it is Javascript. function fullScreenWindow() { try{ // Get the ActiveX object from the Window var acvxObj= new ActiveXObject("Wscript.shell"); //this may not be cross-browser, not sure. but may be other implementations per browser. // Now sends a key to fullscreen acvxObj.SendKeys("{F11}"); }catch(e){ } } ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash fullscreen in a JavaScript app?
Aaanndd done! :) http://www.google.com/search?client=safari&rls=en&q=fullscreen+with +java+browser&ie=UTF-8&oe=UTF-8 If you don't find your answer here, I am thinking you may not find it. The problem may be in accessing a clients browser in that way. Some users don't likey. I think with Java Applets you can, but the user has to allow it. Jim was on the right track with F11 though. I found this from one of the links. Not sure if its cross-browser or not. May only be IE. Have not tested, but it is Javascript. function fullScreenWindow() { try{ // Get the ActiveX object from the Window var acvxObj= new ActiveXObject("Wscript.shell"); //this may not be cross-browser, not sure. but may be other implementations per browser. // Now sends a key to fullscreen acvxObj.SendKeys("{F11}"); }catch(e){ } } SOURCE: http://rocksolutions.wordpress.com/2010/06/17/calling-browser- function-for-fullscreen-window-using-java-script/ Seems like a work-around to the client authorization and if you give the user an option to minimize, then peace will reign. HTH, Best, Karl On Jan 29, 2011, at 4:54 PM, Karl DeSaulniers wrote: This might help.. http://plugins.jquery.com/plugin-tags/fullscreen Best, Karl On Jan 29, 2011, at 4:24 PM, Mendelsohn, Michael wrote: Hi Jim... That's really impressive. Very nice work. If I'm understanding your question correctly, you're asking if you can silently trigger Flash to go full screen. The problem is that when you go full screen with Flash, the only thing full screen is the Flash stage, not the browser. For the browser to go full screen that's F11 on the keyboard. Hope I'm answering that correctly for you. - Michael M. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Andrews Sent: Saturday, January 29, 2011 2:58 PM To: Flash Coders List Subject: [Flashcoders] Flash fullscreen in a JavaScript app? Hi, I've developed a JavaScript slideshow at http://vispo.com/nio/pens/ slideshow I want a fullscreen button in it. No browser chrome whatsoever. None. As you probably know, this is fully supported in Flash but not in JavaScript. Which is a real annoyance. There's the fullscreen='yes' thing as a parameter in window.open, but this still results in some browser chrome. Is it possible to insert a little Flash app in the HTML which, when clicked, causes the slideshow to go fullscreen while also permitting the user to use the JavaScript controls? Normally what would happen, I realize, is it goes fullscreen and you have a fullscreen that has nothing on it but the fullscreen button. Which of course is not what I'm after. ja http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash fullscreen in a JavaScript app?
What I'm after--but I don't think it's possible--is a way to build a JavaScript-powered button which, when clicked, makes the browser go fullscreen-no-browser-chrome. While the main interactive content remained a DHTML app. I thought it might be possible to use Flash's fullscreen capabilities, but I realize now it isn't, for the reason you give. It's a pity it isn't possible to go fullscreen-no-browser-chrome even if the user wants to by clicking such a button (which doesn't exist). Thanks, Michael, for your help and your comment on Slidvid. Here's an article I wrote about Slidvid: http://netartery.vispo.com/?p=789 ja - Original Message - From: "Mendelsohn, Michael" To: "Flash Coders List" Sent: Saturday, January 29, 2011 2:24 PM Subject: RE: [Flashcoders] Flash fullscreen in a JavaScript app? Hi Jim... That's really impressive. Very nice work. If I'm understanding your question correctly, you're asking if you can silently trigger Flash to go full screen. The problem is that when you go full screen with Flash, the only thing full screen is the Flash stage, not the browser. For the browser to go full screen that's F11 on the keyboard. Hope I'm answering that correctly for you. - Michael M. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Andrews Sent: Saturday, January 29, 2011 2:58 PM To: Flash Coders List Subject: [Flashcoders] Flash fullscreen in a JavaScript app? Hi, I've developed a JavaScript slideshow at http://vispo.com/nio/pens/slideshow I want a fullscreen button in it. No browser chrome whatsoever. None. As you probably know, this is fully supported in Flash but not in JavaScript. Which is a real annoyance. There's the fullscreen='yes' thing as a parameter in window.open, but this still results in some browser chrome. Is it possible to insert a little Flash app in the HTML which, when clicked, causes the slideshow to go fullscreen while also permitting the user to use the JavaScript controls? Normally what would happen, I realize, is it goes fullscreen and you have a fullscreen that has nothing on it but the fullscreen button. Which of course is not what I'm after. ja http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash fullscreen in a JavaScript app?
This might help.. http://plugins.jquery.com/plugin-tags/fullscreen Best, Karl On Jan 29, 2011, at 4:24 PM, Mendelsohn, Michael wrote: Hi Jim... That's really impressive. Very nice work. If I'm understanding your question correctly, you're asking if you can silently trigger Flash to go full screen. The problem is that when you go full screen with Flash, the only thing full screen is the Flash stage, not the browser. For the browser to go full screen that's F11 on the keyboard. Hope I'm answering that correctly for you. - Michael M. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders- boun...@chattyfig.figleaf.com] On Behalf Of Jim Andrews Sent: Saturday, January 29, 2011 2:58 PM To: Flash Coders List Subject: [Flashcoders] Flash fullscreen in a JavaScript app? Hi, I've developed a JavaScript slideshow at http://vispo.com/nio/pens/ slideshow I want a fullscreen button in it. No browser chrome whatsoever. None. As you probably know, this is fully supported in Flash but not in JavaScript. Which is a real annoyance. There's the fullscreen='yes' thing as a parameter in window.open, but this still results in some browser chrome. Is it possible to insert a little Flash app in the HTML which, when clicked, causes the slideshow to go fullscreen while also permitting the user to use the JavaScript controls? Normally what would happen, I realize, is it goes fullscreen and you have a fullscreen that has nothing on it but the fullscreen button. Which of course is not what I'm after. ja http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash fullscreen in a JavaScript app?
Hi Jim... That's really impressive. Very nice work. If I'm understanding your question correctly, you're asking if you can silently trigger Flash to go full screen. The problem is that when you go full screen with Flash, the only thing full screen is the Flash stage, not the browser. For the browser to go full screen that's F11 on the keyboard. Hope I'm answering that correctly for you. - Michael M. -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Jim Andrews Sent: Saturday, January 29, 2011 2:58 PM To: Flash Coders List Subject: [Flashcoders] Flash fullscreen in a JavaScript app? Hi, I've developed a JavaScript slideshow at http://vispo.com/nio/pens/slideshow I want a fullscreen button in it. No browser chrome whatsoever. None. As you probably know, this is fully supported in Flash but not in JavaScript. Which is a real annoyance. There's the fullscreen='yes' thing as a parameter in window.open, but this still results in some browser chrome. Is it possible to insert a little Flash app in the HTML which, when clicked, causes the slideshow to go fullscreen while also permitting the user to use the JavaScript controls? Normally what would happen, I realize, is it goes fullscreen and you have a fullscreen that has nothing on it but the fullscreen button. Which of course is not what I'm after. ja http://vispo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders