Hi all, I just landed here after a very long google search, and now finally decided to ask you. I even found the question here on kirupa.com, but answered to someone using AS 2:
I want to get the real size of my SWF, because I want to be able to dynamically add as much content as fits into it, depending on the width of the html-container it's embedded in. I though this would be done with the Stage properties, but in AS 3 the stage seems to only have the size of the graphical elements it contains, which means in a "noScale" case there is no updated information about the real size of the whole SWF.
Does anyone have more experience with this topic? I don't know if stage is the right way to do that in AS 3, but I can't believe it's impossible, as AS3 should be offering more flexibility than AS2.
Thanks a lot for any advise!
It was easier than expected - I just didn't realize that the stage.width property in AS 3 has changed to stage.stageWidth!!! Hope that this at least helps some others...