Skip to main content
Inspiring
August 1, 2016
Question

Stagescalemode ShowAll Help!

  • August 1, 2016
  • 2 replies
  • 535 views

Hello users, I'm trying to use the "showall" in Flash, but says that can only use a public within a package / class, do not know what you mean, someone could help me?

public static const SHOW_ALL:String = "showAll"

Someone may be to come tell me how I can use the structure of this function in a frame?

Taking advantage, I wonder if this really is the function for defining scale, to adjust the implementation of the resolution according to the user's device. I'm already grateful!

This topic has been closed for replies.

2 replies

vvvverTAuthor
Inspiring
August 2, 2016

up?

kglad
Community Expert
Community Expert
August 3, 2016

use:

stage.scaleMode='showAll';  // if that's the scale mode you want.

vvvverTAuthor
Inspiring
August 3, 2016

If I add the line in the first frame, the application startup, is enough? Kglad?

Ned Murphy
Legend
August 1, 2016

If you are coding in the timeline then you need to avoid using class nomenclatures.

var SHOW_ALL:String = "showAll";

vvvverTAuthor
Inspiring
August 1, 2016

Hello Ned, this will cause the scale of the stage and its attributes fit with the resolution of the user? For I am facing a big problem to try to do something to adjust, avoid this "failure."

See the picture below the gray margin that keeps the application running on a mobile.

Could you guide me in any way, please?