Tim,

Thanks for your help on this.  I feel like I am getting a little closer, but 
would like to get full understanding so that I can make a good decision on how 
to proceed.

The 2880 limit seems to be related to the problem, however it is interesting 
that this limit only seems to affect transparent images, or at least I haven't 
hit a limit yet for non transparent images.

Also, I am using FP10, which is supposed to have higher limits.  Do you know if 
this is dependent on the SDK that the app is compiled with?

If I change the image to "http://www.mangumfamily.org/pedigreeLargeBook.png";, 
which is 3764 x 2610 with transparency...it doesn't load.

"http://www.mangumfamily.org/pedigreeLargeBook2.png";, which is the same image, 
saved at 2880 x 1997 with transparency...loads great.

"http://www.mangumfamily.org/pedigreeLargeBook3.png";, which is the same image, 
saved at 2885 x 2000 with transparency...does not load.
This seems to prove that there is some sort of 2880 limit still with 
transparent images.

Interesting thing is that "http://www.mangumfamily.org/backgroundOriginal.jpg";, 
which is much larger, 4200 x 3188, but has no transparency, loads just fine.

Does anybody have some good understanding on this issue? or can you point me to 
some better documentation on such?

Thanks!

Gary



--- In [email protected], "Tim Hoff" <timh...@...> wrote:
>
> 
> Well, probably a question better answered by Alex.  I suspect that the
> transparency is adding to the file size and hitting the size limit. 
> But, at this point, it's just a guess.  Try cropping the image down to
> see if you get to a point that it works.
> 
> -TH
> 
> --- In [email protected], "toofah_gm" <garym@> wrote:
> >
> > I tried this as well...I think that the original file is actually a
> PNG and not a JPG...unfortunately, this does not make a difference
> either.
> >
> > Gary
> >
> >
> > --- In [email protected], "Tim Hoff" TimHoff@ wrote:
> > >
> > >
> > > What happens if you convert the jpg to a png with transparency? I
> seem
> > > to remember a problem with the alphas for a jpg.
> > >
> > > -TH
> > >
> > > --- In [email protected], "toofah_gm" <garym@> wrote:
> > > >
> > > > TH,
> > > >
> > > > Thanks for the quick response. If the image is too wide, why does
> > > "http://www.mangumfamily.org/bar3.jpg"; work? It has the same
> dimensions,
> > > just no transparency.
> > > >
> > > > Gary
> > > >
> > > > --- In [email protected], "Tim Hoff" TimHoff@ wrote:
> > > > >
> > > > >
> > > > > Hi Gary,
> > > > >
> > > > > There is a 2880 pixel limit for images. Your image is too wide.
> > > > >
> > > > > -TH
> > > > >
> > > > > --- In [email protected], "toofah_gm" <garym@> wrote:
> > > > > >
> > > > > > I am seeing cases when the image loader COMPLETE event will
> not
> > > fire.
> > > > > Does anyone know why this is the case? I wonder if there is
> > > something
> > > > > wrong with some of my images that causes a bug in FLEX.
> > > > > >
> > > > > > Here is an example:
> > > > > >
> > > > > > <?xml version="1.0" encoding="utf-8"?>
> > > > > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> > > > > layout="absolute" applicationComplete="init()">
> > > > > > <mx:Script>
> > > > > > <![CDATA[
> > > > > > private function init():void
> > > > > > {
> > > > > > myImage.addEventListener(ProgressEvent.PROGRESS,
> > > > > progressEventHandler);
> > > > > > myImage.addEventListener(Event.COMPLETE,
> completeEventHandler);
> > > > > > myImage.addEventListener(Event.UNLOAD, unloadEventHandler);
> > > > > >
> > > > > > reload();
> > > > > > }
> > > > > >
> > > > > > private function reload():void
> > > > > > {
> > > > > > //
> > > myImage.load("http://www.google.com/intl/en_ALL/images/logo.gif";);
> > > > > > myImage.load("http://www.mangumfamily.org/bar.jpg";);
> > > > > > }
> > > > > >
> > > > > > private function progressEventHandler(evt:ProgressEvent):void
> > > > > > {
> > > > > > trace("PROGRESS: bytesLoaded="+evt.bytesLoaded+",
> > > > > bytesTotal="+evt.bytesTotal);
> > > > > > }
> > > > > >
> > > > > > private function completeEventHandler(evt:Event):void
> > > > > > {
> > > > > > trace("COMPLETE");
> > > > > > }
> > > > > >
> > > > > > private function unloadEventHandler(evt:Event):void
> > > > > > {
> > > > > > trace("UNLOAD");
> > > > > > }
> > > > > > ]]>
> > > > > > </mx:Script>
> > > > > > <mx:Image id="myImage"/>
> > > > > > <mx:Button label="Reload Image" y="308" click="reload()"/>
> > > > > > </mx:Application>
> > > > > >
> > > > > > Notice that COMPLETE never gets called. If you copy the URL
> into a
> > > web
> > > > > browser it loads fine.
> > > > > >
> > > > > > If you change the url in the code to the Google one, it loads
> > > fine.
> > > > > >
> > > > > > What is wrong with my image? Maybe I need to log a bug to
> FLEX.
> > > > > >
> > > > > > Thanks for your help!
> > > > > >
> > > > > > Gary
> > > > > >
> > > > >
> > > >
> > >
> >
>

Reply via email to