Re: [flexcoders] Re: Dealing with images larger than Flash Player 10 limit

2010-01-28 Thread Aaron Hardy
Scratch that. Although we see it very frequently when using the Flex debugger, we're still seeing it albeit less frequently in regular running mode of the app when it's on a production server. It doesn't seem to be related to the size of the bitmap being loaded in either. It occurs in a random p

Re: [flexcoders] Re: Dealing with images larger than Flash Player 10 limit

2009-12-15 Thread Aaron Hardy
Thank you very much for the response. Your code looked eerily similar to the code I was already using, but I plugged your code into a fresh project and it worked. It baffled my mind. I went back to my project and I got the same issue I was seeing before--the bitmap data would return 0 for both w

[flexcoders] Re: Dealing with images larger than Flash Player 10 limit

2009-12-15 Thread jamesfin
This example refines the image down to 80x80. SmoothImage is derived from Image. I tested it against a 7000x6000 8.5mb jpg with no problems. It also scales to the smaller side if they aren't equal. main code... private var uploadReference:FileReference = new FileR