Is it possible to create a display object in AS and take a screenshot of it as ByteArray or whatever without adding it to stage?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do this with any DisplayObject using BitmapData http://blog.728media.com/tag/bitmapdata/ . Note that in Flex, components that have not been added to the stage may not lay out properly until you give them a width and height and call validateNow() on them.