I'm making a game in AS3, using FlashDevelop. I'm trying to, as the title says, dynamically increase the size of the screen. It's a simple avoider-type game, so one of the upgrades I'm letting the player unlock is more space.
I have my main, and that main has a single child. I'm trying to call an UpgradeScreen() function from that child. I've tried several permutations of stage.stageWidth and stage.scaleX and nothing has worked so far. Based on some of the responses to questions of this nature that I've found it looks like it's going to be more complicated than I was hoping.
So, is what I'm trying possible? Should I have the child call a function in the main instead of trying to do it itself?
Thanks in advance.