1 Reply Latest reply on Jul 11, 2009 9:58 AM by b_i

    HTML based AIR app with transparent background (PNG)

    b_i Level 1

      Hi guys,

       

      I have been developing a VERY simple HTML / JavaScript AIR app with Dreamweaver CS3 and Photoshop CS3.

       

      I have skinned the app with a simple transparent PNG file (Photoshop > Save for Web and Devices). I have set the PNG as the <body> background-image via CSS and the body background-color is undefined. I have also set the app to:

       

          <systemChrome>none</systemChrome>
          <transparent>true</transparent>

       

      My problem is that I get a white opaque background showing through behind / around the PNG.

       

      Q: Is it possible for HTML / JavaScript AIR apps to have transparent backgrounds (I have seen lots of info about how to do this in Flash / Flex but not HTML)?

       

      Q: What do I need to change or do to make it work?

       

       

      Many, many thanks,

       

       

      B