Levent
Levent

Reputation: 11

Fullscreen from javascript

I have a swf file and i want 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?

Upvotes: 1

Views: 313

Answers (3)

Klemen Slavič
Klemen Slavič

Reputation: 19841

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

Upvotes: 2

perdian
perdian

Reputation: 2843

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.

Upvotes: 0

Related Questions