I have a document class - Engine. In its constructor I do:
game.addChild(new BathRoom());
This places a background graphic from the Flash library. What I’m wanting is to be able to use various background graphics…
Would it be better to not make Engine the document class, and instead just instantiate it within Flash like?
var myGame:Engine = new Engine(“bathroom”);
and pass in the background I want?
That seems logical… just want to be sure.