1 Reply Latest reply on May 7, 2010 7:28 PM by Flex harUI

    Does UIComponent need to be visible for BitmapData.draw ?

    ZenForHire

      Hi All,

       

      Trying to build an error image by building a simple UI at runtime and writing it to a BitmapData.

      It it NOT added to display list because NOT intended for User of application.

       

      When getting the byteArray from JPEGEncoder, I get a white blank image.

      I CANNOT use the ImageSnapshot because it's not visible.

       

      Does BitmapData.draw only work for visible components?

       

      Thanks in advance,

      Kevin