Majid Fouladpour
Majid Fouladpour

Reputation: 30252

Flash to take the view to fullscreen

I need a link to invoke a flash movie (with javascript) that takes the view to full screen, and show the page content. Exactly as if the user has pressed F11. Is there such flash movie?

Edit
This is different from what the flash player does on Youtube and other video sites in that the flash movie has no content to show and after the page goes fullscreen I want the normal page content to be displayed. The only role of the flash object would be invoking the fullscreen mode.

Upvotes: 1

Views: 3852

Answers (2)

Diodeus - James MacFarlane
Diodeus - James MacFarlane

Reputation: 114367

JavaScript (and therefore Flash) does not have access to activating full-screen mode (and thank god it doesn't!).

The best you can do is measure the user's screen size and open a new window that emulates this layout.

See: How to make the window full screen with Javascript (stretching all over the screen)

Upvotes: 3

Quentin
Quentin

Reputation: 943556

No. Flash full screen mode (which can only be triggered with a click) is independent from browser full screen mode (which not all browsers have anyway).

Upvotes: 1

Related Questions