1 Reply Latest reply on Jul 17, 2007 1:47 AM by wallerdm


      Dear All,

      Hopefully someone will be able to shed some light on an issue I'm having. I'm fairly new to both Flex 2 and AS3 - but getting there.

      I have a BitmapData object that contains a snapshot taken from a webcam - this all works fine. I now want to pass this data out to a server as a PNG and let the server save it as a file.

      I'm trying to use the PNGEncoder class from labs.adobe.com and I'm passing it my BitmapData object for encoding.

      All I seem to get back from this are the PNG headers. Any thoughts on what I might be doing wrong?

      Thanks guys,

        • 1. Re: PNGEncoder
          wallerdm Level 1
          Dear All,

          I'm still really struggling with this so any help would be great.

          I'n now using Flex Builder 3 (beta) with the inbuilt support for the PNGEncoder class but no matter what I send it in the encode method, all I get back are PNG headers.

          Any thoughts?