Groups | Blog | Home
all groups > macromedia flash sitedesign > february 2006 >

macromedia flash sitedesign : How do I get great looking images in a swf


stevebydac
2/24/2006 8:31:59 PM
Hi, looking for some help...

I have a set of thumbnails inside a .swf website. I have properly worked out
actionscript to pop open the thumbs to see larger images. The thumbs represent
a flash games menu.

What I want to happen when you click on a thumb is for a large rectangular
image to appear, split into four quadrants. The quadrants would be three
screenshots of the game (in the top left, bottom left and top right quadrants),
plus one quadrant for text information (in the bottom right).

In order to achieve this, I have to:
1) Save three screenshots of the game
2) Reduce the screenshots to fit into the quadrants
3) Type in the text
4) Save all this as another image
5) Import that image into my .swf website as a movie clip

I'm trying this using jpegs and gifs, and I am losing quality. The final 4
quadrant image is fuzzy. What do you experts think my best chance of getting
the sharpest looking images is? The flash games are mostly all cartoons, only a
few have photos.

Thanks for the help.
AmbientSmiley
2/24/2006 9:17:07 PM
stevebydac
2/25/2006 5:12:42 PM
tralfaz
3/2/2006 11:11:49 AM
[quoted text, click to view]

always? You should use the settings that fit the situation. Those
techniques you mentioned make for the biggest possible swf file and
there are a lot of situations that don't call for maximum image
quality.

Flash does compress jpegs, and that's why importing jpegs into Flash
and exporting as jpeg again is bad.. it compresses the jpeg twice and
makes the quality poor. Importing pngs into Flash and exporting to
jpeg with quality set to 70% or so gives the best result for size
versus quality most of the time. If you leave it png in and png out
you are going to have a swf file that is way bigger than it needs to
be. PNG is considered the "working format", not so good as the output
format because it is so big.

About.._quality = "best";
THE GOOD:
Maximum image quality because smoothing is forced to on for images
that span across more than one frame of the timeline.

THE BAD:
1) much more demanding on CPU power
2) Can top out the performance on slower computers making the playback
stutter

tralfaz

nardove
3/2/2006 5:42:59 PM
hi, this is what i do

first frame of my movie put this code _quality = "BEST";

and i always use .png, why? because flash cant compress a jpg or mp3 y always
use wav and pngs

well that is just how i play, every body use different techniques
michael novia
3/2/2006 5:45:14 PM
nardove
3/3/2006 12:00:00 AM
AddThis Social Bookmark Button