display capture

Hi all,
I’ve not played around with screen captures yet, but is it possible to capture the screen using display.captureScreen() and then use that grab as the source for a sprite sheet?

cheers
Chris
[import]uid: 7841 topic_id: 33418 reply_id: 333418[/import]

I’m not 100% sure on this but I believe a spritesheet has to be created from an image file rather than an already created display object so you would have to save it out first. I will actually be doing this later tonight anyway in one of our side projects and being able to create a spritesheet directly from the display object would be great. [import]uid: 119420 topic_id: 33418 reply_id: 132768[/import]

I’m not 100% sure on this but I believe a spritesheet has to be created from an image file rather than an already created display object so you would have to save it out first. I will actually be doing this later tonight anyway in one of our side projects and being able to create a spritesheet directly from the display object would be great. [import]uid: 119420 topic_id: 33418 reply_id: 132768[/import]