PNG import, contour problems!

Hello everyone,

When I import a transparent png document
in Flash and I look at my movie on a Macintosh
the transparent part of the png document appears
in the swf movie (some PC’s do this too).

For example…
The content of my transparent png document is a circle.
I import the square png document (50px X 50px) in Flash.
When I look the swf on a Mac and some
PC’s, I can see the square of the png
document around the circle.

Anyone know how to prevent this?

Thanks!

Neuhaus3000

check your screen resolution settings, probably you have your screen in 16 bit color set it to 32 bits thats probabbly your problem, what program are you using to export the png? and did you check the settings of the imported png in flash hit ctrl+L and check the properties tab on the png image make sure you choose lossless gif/png, it wouldnt hurt to check out the publishing settings in flash also check what quality its using for the jpgs

Grim

Hey Grim,

Thanks for your reply…

I use Macromedia FireWorksMX to edit my PNG’s.

I have tried to put “lossless gif/png” in my symbol
properties. I will make some tests with a Mac
tomorrow. I’ll keep you posted.

Muchos gracias!

Neuhaus3000

Hey Neuhaus3000, I’m not sure if this will work or not, but try using trace bitmap on your image so that it will get rid of the square and leave just the circle behind.

While you’re in flash, click on the graphic to select it, then go to modify > trace bitmap and set color threshold to 1, minimun area to 1 as well, set curve fit to “pixels” and set corner threshold to “normal”.

After you’ve done that, your image shouldn’t have the box around it anymore, but only the circle behind. Try that and see if it works, good luck. =)

just incase make sure when youre exporting the image from fireworks you choose a transparent background if you keep having trouble just post your image file so we can see what your doing wrong

Grim

Hello Grimdeath and Electrongeek,

I think I know what’s my problem…

The problem occurs only in my movies
that have a scollBar on a layer underneath.
The picture is fine in a movie without
a scrollBar.

I noticed that I can’t put a transparent
background with the ScrollBar component
in Flash MX. If I could do that, I know I
would settle my problem.

Trace bitmap boosts my movie to 200k
instead of 35k. It’s a good alternative
though. Thanks !

What do you think about Flash MX?
I’m not to keen about the graphic
possibilities of the software.

Danke! :beam:

Neuhaus3000

flash mx is great, components suck so dont use em

Grim

I was having this problem until someone told me to make sure I chose interlaced when saving as a png from photoshop. I don’t have the problem now that I do that.