actionscript 3 - Get the stage dimensions without using a Singleton? -


i have few classes in project aren't display objects, need know stage of project (stage.stagewidth, stage.stageheight).

is there simple way pass information along classes without using singleton or passing these items in parameters constructor??

there no way without singleton if don't have reference displayed graphic object.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -