Assigning a displayObject to an imagesheet via display.captureScreen()

Hi,
I am letting users select an image from their photolibrary resize and reposition it.Then I am using display.captureScreen() to save the adjusted image to the photolibrary so people can use it later on.
It also returns the screenshot as a displayObject for the user to use immediately.
I create puzzle pieces from the image. I use an imagesheet for the puzzle pieces so the memory does not fill up. It uses 12 identical images from where I mask out the puzzle pieces.

Now I want to use the returned displayObject as an imageSheet so I can use it as a puzzle. Is this possible? Or is there another way I can reuse the image and still be efficient like the imageSheet?

Thanks for reading. [import]uid: 100901 topic_id: 30301 reply_id: 330301[/import]

Currently, image sheets require an actual file, so unfortunately you cannot directly use the image from the photo library in an image sheet — I’m logging this as a feature request.

If you really need to optimize memory, then maybe you can try display.save or display.captureScreen to save it to a file, but those may have some shortcomings. [import]uid: 26 topic_id: 30301 reply_id: 121466[/import]

Thanks for the reply.
RobMiracle said something similar in a different thread.
I will experiment with saving it to the temporary dir.

Thanks again [import]uid: 100901 topic_id: 30301 reply_id: 121471[/import]

Currently, image sheets require an actual file, so unfortunately you cannot directly use the image from the photo library in an image sheet — I’m logging this as a feature request.

If you really need to optimize memory, then maybe you can try display.save or display.captureScreen to save it to a file, but those may have some shortcomings. [import]uid: 26 topic_id: 30301 reply_id: 121466[/import]

Thanks for the reply.
RobMiracle said something similar in a different thread.
I will experiment with saving it to the temporary dir.

Thanks again [import]uid: 100901 topic_id: 30301 reply_id: 121471[/import]