thebackalleys

Main => General => Topic started by: Swoop on September 3, 2008 05:44 AM

Title: Lag due to images.
Post by: Swoop on September 3, 2008 05:44 AM
A good chum of mine is currenty working on a flash short and is using handdrawn images colored in photoshop for each background. He imported them as rather quite large .jpgs and placed them in their appropriate frame, but beefed up the filesize in the process. I promptly suggested he change them to .pngs about the size of the movie's actual frame in order to decrease the filesize, but in doing so each time a new background would appear a few frames would lag upon appearance. When I was able to take a look at the .fla file myself, I adjusted the .jpg quality down several notches as a test to see if it would resolve the issue, but no luck. Any suggestions?
Title: Lag due to images.
Post by: Cambo on September 3, 2008 10:06 AM
Quote from: ILikeToSwoopThingsA good chum of mine is currenty working on a flash short and is using handdrawn images colored in photoshop for each background. He imported them as rather quite large .jpgs and placed them in their appropriate frame, but beefed up the filesize in the process. I promptly suggested he change them to .pngs about the size of the movie's actual frame in order to decrease the filesize, but in doing so each time a new background would appear a few frames would lag upon appearance. When I was able to take a look at the .fla file myself, I adjusted the .jpg quality down several notches as a test to see if it would resolve the issue, but no luck. Any suggestions?

you could try the "trace bitmap" option, which will create vectors from the image and so should, if not reduce the file size, reduce at least the lag. I think that's right.
Title: Lag due to images.
Post by: psi43 on September 3, 2008 11:48 AM
resize it in photoshop to 550x400 or whatever the flash's size is, then save and import.
Title: Lag due to images.
Post by: rtil on September 3, 2008 04:54 PM
what psi said. if you're importing stuff and finding yourself resizing them way below their original size and your final output is going to be swf, you're going to want to shrink them and then re-import them. jpg's are also better to use because they are smaller. but you can change them to export as jpg's from the library anyway, and flash does a good job of shrinking their size.