Flash作为视图到全屏 [英] Flash to take the view to fullscreen

查看:164
本文介绍了Flash作为视图到全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个链接来调用Flash影片(使用JavaScript),它认为到全屏,并显示网页内容。完全一样,如果用户有pressed F 11。有这样的Flash电影?

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?

修改
这是什么样的flash播放器是否在YouTube和其他视频网站在闪光灯的电影的没有内容显示和网页后那张全屏我要显示正常的网页内容不同。 flash对象的唯一作用是调用全屏模式。

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的(因此闪存)没有进入激活全屏模式(感谢上帝,它没有!)。

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.

请参阅:<一href="http://stackoverflow.com/questions/1125084/how-to-make-in-javascript-full-screen-windows-stretching-all-over-the-screen">How使在Javascript全屏窗口(拉伸全屏幕)

这篇关于Flash作为视图到全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆