# PNG import, contour problems!

**URL:** <https://forum.kirupa.com/t/png-import-contour-problems/14273>\
**Category:** flash\
**Created:** [February 24, 2003, 2:50pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273 "2003-02-24T14:50:41Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neuhaus3000](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/neuhaus3000/32/168_2.png) [@Neuhaus3000](https://forum.kirupa.com/u/Neuhaus3000)\
**Post date:** [February 24, 2003, 2:50pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/1 "2003-02-24T14:50:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 24, 2003, 4:35pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/2 "2003-02-24T16:35:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 24, 2003, 10:43pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/3 "2003-02-24T22:43:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 2:22am UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/4 "2003-02-25T02:22:55Z")

</div>

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. =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 3:20am UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/5 "2003-02-25T03:20:02Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 3:30pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/6 "2003-02-25T15:30:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 5:30pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/7 "2003-02-25T17:30:11Z")

</div>

flash mx is great, components suck so dont use em

Grim

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 25, 2003, 7:37pm UTC](https://forum.kirupa.com/t/png-import-contour-problems/14273/8 "2003-02-25T19:37:12Z")

</div>

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.
