Loading Images with Real Screen Resolution (Flash AS3)

Posted by yar on Stack Overflow See other posts from Stack Overflow or by yar
Published on 2010-04-18T22:47:47Z Indexed on 2010/04/18 22:53 UTC
Read the original article Hit count: 491

Filed under:
|

I am loading JPEGs into a Flash presentation using load with a flash.display.Loader and it's working great. The JPEGs are sizing to their native resolution (which is perfect). However, if I maximize the Flash presentation (in the Flash Player), the JPGs do NOT take advantage of the bigger screen.

For example, the presentation is 1024x768, and the image is 1280x400. Normally the image shows with a part offscreen in the Flash presentation. However, if I expand the Flash presentation to 1680x1200, the freshly loaded image still goes offscreen. Is there any way to load the jpg (or png, or whatever) to take advantage of the displayed resolution of the Flash presentation?

Edit: I realize this question is hard to read, so any help would be appreciated.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3