How to get full screen in flash.(fs command)

Recommended Answers

All 2 Replies

How to get full screen in flash.(fs command)

Have you got any more info??
What exactly are you trying to do?
What version of flash/actionscript are you using?

To make a .swf fullscreen in AS3 you can do this:

stage.displayState = StageDisplayState.FULL_SCREEN;

and to go back to the normal windowed mode you can use:

stage.displayState = StageDisplayState.NORMAL;

NOTE: In order to use StageDisplayState in your AS3, you'll need to make sure you import flash.display.StageDisplayState.

Not sure if that's any help to you, but you haven't exactly given us a lot to go on!

Cheers for now,
Jas.

Thanks Janson.
You share good knowledge.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.