Monday, October 06, 2008

mx:Image limitation

I have a website I'm working on where the background is 8000 pixels wide and 800 pixels tall. I tried for hours, but I could not get the image to load. So how did I solve the problem? With a rather ugly workaround. I created a HBOX with a horizontalGap of 0 and then put two images in it each one being 4000x800. That worked perfectly. I don't have time to really dig in and figure out what's going on or what specifically the limitation is, but I do know that it has something to do with dimensions, and not file size. The reason I know this is because in my efforts to fix it, I tried making the image a really compressed lossy JPEG and even that wouldn't load (it was only 200k!). The version that's up now is about 1,200k (two 600k images) and it's running fine. I'll let you all know when it's up because this site should be pretty visually awesome... although the content is a bit questionable.

Labels: , , , ,

1 Comments:

Anonymous Anonymous said...

This has to do with memory limitations of the uncompressed image (24 bits per pixel), rather than the space used to store the (compressed) image.

5:05 PM  

Post a Comment

<< Home

Feed (RSS/Atom)

Contact Me

Don't put anything here: