开发者

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 s开发者_如何学编程uch 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.


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)


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).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜