0
votes

I have an application written in ActionScript 3.0. It has several screens. All screens are unique. I don't need to create new screen at runtime.

I find it very comfortable to access screens via static variable that hold a reference to its screen. Does this method has some drawbacks or this is common way to do so?

1
I don't really know what is scene. Buy by saying screen I mean "Looby" screen, "Shop" screen, "Game" screen etc. - Worker
one disadvantage would be they stay in memory ALL the time. - BadFeelingAboutThis

1 Answers

0
votes

I dont know what you mean with several screens. But if it is not, you should use layers and by this you can manage their visibilities and children by AS3 at any time.