I'm working with flex, but actionscript ideas are just as good.
The flex <s:Application>
tag has height="100%" width="100%"
so the swf fits the browser as the browser gets resized.
My problem is that I have a <s:Label>
that I need to position based on the real/current size of the browser.
<s:Application height="100%" width="100%">
.....
<s:Label text="hello" x="?" y=">" />
</s:Application>
I heard it's possible to use Application.application.width;
but I get a compile error, that it doesn't know what that is.
Any ideas how to do this. I'm trying to get the current size of the swf in the browser, as the browser resizes.