how do i get the dimensions of the visible swf in AS 3.0

Posted by vasion on Stack Overflow See other posts from Stack Overflow or by vasion
Published on 2010-04-12T09:20:00Z Indexed on 2010/04/12 9:23 UTC
Read the original article Hit count: 255

Filed under:
|

my movie is 500 by 200 px. However i am loading display object much larger than that and have just a portion of them show. How do i programatically get the visible dimesions? root.stage.width gives me the extended value.

for the sake of good programing practices i dont want to hardcore the values.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3