Andy Crockett
Andy Crockett

Reputation:

Flash AS2 fullscreen problem

i have my code to make the stage go to fullscreen but it doesn't seem to work if I use the .swf version of the file, if i export it as a .exe file though it will work, heres my function

function toggleFullScreen() {
    Stage.displayState = (Stage.displayState == "normal") ? Stage.displayState = "fullScreen" : Stage.displayState = "normal";
}

Upvotes: 1

Views: 4641

Answers (1)

undefined
undefined

Reputation: 5330

Have you set allowFullScreen=true in your embed params?

See - http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html

Upvotes: 1

Related Questions