开发者

Fullscreen from javascript

I have a swf file and i want开发者_如何学C to able to fullscreen this swf file using javascript. I have a button to access function inside of swf but it gives me error. I searched over google but nothing good i found. Is it impossible or i do something wrong?


Fullscreen in Adobe Flash can only be triggered within a click event handler inside ActionScript. Flash won't allow fullscreen in any other way because of security concerns (think screen hijacking).


Have a look at http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000352.html


I don't think it's possible.

And from a users point of view it should not be possible. No program accessible by just opening a website should be allowed to overtake my desktop and switch into fullscreen without my explicit consent to do so.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜