A Flash Developer Resource Site

Results 1 to 11 of 11

Thread: PNG problem

  1. #1
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663

    PNG problem

    I've got some strange goings on with some png files. In playback they work fine but after exporting to SWF they are losing their transparency. Anyone else had the same problem or has a solution?
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  2. #2
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    Send me a simple fun file example with the png.

  3. #3
    Can't Re- Member gusmus's Avatar
    Join Date
    Sep 2002
    Location
    España
    Posts
    663
    Hi Bob. The file is a bit big to send but if you go to http://www.cratepages.com/transvalnew/index.swf you can see the two files. They are both png 8 (the two busses). if you open http://www.cratepages.com/transvalnew then you'll find the fun file "index.fun. it's strange because it isn't happening to any of the other images and it wasn't happening before I switched to the latest KM version. Cheers.
    humanus somes est divinitus in ipsum
    Wiliiam Wallace

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    If you zip it, I bet it isn't big. I need the image to test. I don't remember touching any image related code in the last version.

  5. #5
    Member
    Join Date
    May 2003
    Posts
    40
    i am experiencing the same problem with png24's...
    was this issue ever resolved?

    _using version 4.7.2

  6. #6
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    I am still waiting for someone to send me an example.

    A png 24 bit is no better than a regular bitmap. So convert to bmp format.

  7. #7
    Member
    Join Date
    May 2005
    Location
    Germansky
    Posts
    58

    Yes, but...

    Maybe I am wrong, but as far as i know .bmp supports no transparancy...
    Maybe total off-topic...

    but tried to give a new view to it.

    nevertheless, i´lll stuck on all this
    greetings , stefan

    P.S.: 24bit means -some- more than 256col... 4get my post... For your fun I don´t delete it !
    Last edited by hule2; 10-01-2005 at 05:34 PM.
    Let me learn from you!
    -always under construction-

  8. #8
    Senior Member
    Join Date
    Jun 2000
    Posts
    3,512
    24 bit png doesn't support transparency - only 8 bit and 32 bit.

  9. #9
    Junior Member
    Join Date
    Sep 2005
    Posts
    27
    24 bit PNG does support transparency but some IE browsers do not render the image properly. There is an easy work around at the following link http://css.weblogsinc.com/entry/1234000933031938/ Not sure if it will work in KoolMoves.
    Last edited by possum3; 10-02-2005 at 10:38 AM.

  10. #10
    Senior Member pherbrick's Avatar
    Join Date
    Jul 2004
    Location
    Los Angeles
    Posts
    291
    Interlacing has cleared up an image problem I have w/ PNGs (ie, in Photoshop, select interlaced option).
    Last edited by pherbrick; 10-05-2005 at 09:11 PM.

  11. #11
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Quote Originally Posted by possum3
    24 bit PNG does support transparency ...
    False !

    In few words:
    There're 2 structures able to carry the alpha channnel:
    1) 8 bit PNG or GIF (max. 255 colors, 1 bit transparency)
    2) 32 bit PNG (and few other formats).
    Now the sticky part: there're 2 kind of 32bit PNGs:
    RGBA8881 (1 bit transparency)
    RGBA8888 (255 levels of transparency - aka "transparent layer", useful for gradients)
    I use PhotoShop since I can't remember, but it has an "original" way to deal with transparent images.
    To be out of troubles, be sure that the transparent area is BLACK (switch off the transparency to check out).
    cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center