I have a .swf file I am including in my html document. I'd like to be able to play it in full screen mode. (No browser showing).
Is it possible to do this using html / javascript or is this a component of the flash movie itself?
I have a .swf file I am including in my html document. I'd like to be able to play it in full screen mode. (No browser showing).
Is it possible to do this using html / javascript or is this a component of the flash movie itself?
The ActionScript that initiates full-screen mode can be called only in response to a mouse click or keypress. If it is called in other situations, it will be ignored (in ActionScript 2.0) or throw an exception (in ActionScript 3.0).
http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html
So you cannot do this using Javascript.
No, you can't. I understand that preventing people from making annoying auto-fullscreen movies and the like sounds good, but this is really crippling... You have a whole navigation bar (standard across the site) in HTML and then for this one flash component, there's one button that's not in the bar because... because other people might do something scurrilous with it? What's the real harm in a video taking full screen unprompted? Will a user lose files? Will the computer shut down? Sometimes I think Adobe's too paranoid for their own good...