Re: [flexcoders] Maximum Image Width able to be displayed
So I understand conceptually what that means. However I don't know action script well enough to convert an mx.controls.Image wrapping a GIF to a Bitmap. I have tried just creating a BitmapData object and drawing to that given the display object (my mx.controls.Image) and giving it a rectangle for the viewable area. I try drawing this with a graphics.fillBitmap() using the graphics on my container and nothing happens, even after a call to endFill(). So how do you do this in actionscript? - Original Message From: Jon Bradley <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Friday, November 2, 2007 11:02:00 AM Subject: Re: [flexcoders] Maximum Image Width able to be displayed On Nov 2, 2007, at 12:30 PM, Greg Giacovelli wrote: So what it seems is going on is that it renders the image, clips it, and then displays the visible region and applies a mask over the rest. However the render fails so the rest of the steps are just wasted cycles. I have a fix to just chop the image in half prior to loading it. But since I am not the only one with this problem, I was wondering if there are known strategies I don't know of to get around this "feature". Create a rectangle and move that using any of your available tween libraries. Use the rectangle to copy pixels from the virtual 'region' that the rectangle represents on the original image into a new Bitmap that represents the visible area. cheers, jon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [flexcoders] Maximum Image Width able to be displayed
On Nov 2, 2007, at 12:30 PM, Greg Giacovelli wrote: So what it seems is going on is that it renders the image, clips it, and then displays the visible region and applies a mask over the rest. However the render fails so the rest of the steps are just wasted cycles. I have a fix to just chop the image in half prior to loading it. But since I am not the only one with this problem, I was wondering if there are known strategies I don't know of to get around this "feature". Create a rectangle and move that using any of your available tween libraries. Use the rectangle to copy pixels from the virtual 'region' that the rectangle represents on the original image into a new Bitmap that represents the visible area. cheers, jon
Re: [flexcoders] Maximum Image Width able to be displayed
Wow that's sort of not cool but great to hear I am not losing my mind. Thanks! :) So what I am doing is basically loading a 15Kpx wide gif or jpg image and using it as a film strip. (Legacy data format that I can't really change) And I am trying to render subsections of that image by sliding it through a viewable region. So what it seems is going on is that it renders the image, clips it, and then displays the visible region and applies a mask over the rest. However the render fails so the rest of the steps are just wasted cycles. I have a fix to just chop the image in half prior to loading it.. But since I am not the only one with this problem, I was wondering if there are known strategies I don't know of to get around this "feature". Also to help your page out a little more. I think when embedding the image into the swf fails at a smaller width for some reason. Loading it at runtime from an external source seems to allow larger files. No scaling is going on. -Greg - Original Message From: Daniel Freiman <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Friday, November 2, 2007 7:10:25 AM Subject: Re: [flexcoders] Maximum Image Width able to be displayed The 8191px limit has been confirmed. The 2880 limit is on instantiating BitmapData objects, but the player allows for the existence of BitmapData objects larger than 2880. So if you can get the player to create a BitmapData object for you that is larger than 2880 then you're in the clear. I'm keeping a running list of known limitations here: http://nondocs. blogspot. com/2007/ 05/faqlimitation s.html - Dan Freiman On 11/2/07, Jon Bradley <[EMAIL PROTECTED] l.com> wrote: On Nov 2, 2007, at 3:11 AM, greggiacovelli wrote: Hi, I have been trying to figure out a way around this for a few weeks. It seems there is an undocumented limit of around 8192 px wide images that can be rendered inside of the flash player. Is this an undocumented limitation or is there a way to get around it? I believe that is correct. I think the maximum addressable space in Flex is around that number. Someone from Adobe may be able to confirm/debunk that ... I assume you're loading a bitmap smaller than that then scaling it up? Didn't think you could load a bitmap larger than 2880. cheers, jon __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: [flexcoders] Maximum Image Width able to be displayed
The 8191px limit has been confirmed. The 2880 limit is on instantiating BitmapData objects, but the player allows for the existence of BitmapData objects larger than 2880. So if you can get the player to create a BitmapData object for you that is larger than 2880 then you're in the clear. I'm keeping a running list of known limitations here: http://nondocs.blogspot.com/2007/05/faqlimitations.html - Dan Freiman On 11/2/07, Jon Bradley <[EMAIL PROTECTED]> wrote: > > > On Nov 2, 2007, at 3:11 AM, greggiacovelli wrote: > > Hi, > I have been trying to figure out a way around this for a few weeks. It > seems there is an undocumented limit of around 8192 px wide images > that can be rendered inside of the flash player. Is this an > undocumented limitation or is there a way to get around it? > > > I believe that is correct. I think the maximum addressable space in Flex > is around that number. Someone from Adobe may be able to confirm/debunk that > ... > > I assume you're loading a bitmap smaller than that then scaling it up? > Didn't think you could load a bitmap larger than 2880. > > cheers, > > jon > > > >
Re: [flexcoders] Maximum Image Width able to be displayed
On Nov 2, 2007, at 3:11 AM, greggiacovelli wrote: Hi, I have been trying to figure out a way around this for a few weeks. It seems there is an undocumented limit of around 8192 px wide images that can be rendered inside of the flash player. Is this an undocumented limitation or is there a way to get around it? I believe that is correct. I think the maximum addressable space in Flex is around that number. Someone from Adobe may be able to confirm/ debunk that ... I assume you're loading a bitmap smaller than that then scaling it up? Didn't think you could load a bitmap larger than 2880. cheers, jon