After some lovely help here earlier Ive almost finished the project Im working on. I thought i had it completed but Ive gone and ran into one final issue. My program takes a screenshot of the final output of my file, and the final output of my file has some linked images from URLs inside of it. Now when the images are excluded, it saves just fine, but when i load in an image from a web address it doesnt seem to allow my imageSnapShot to work.
private function takeSnapshot(even:Event=null):void {
var imageSnap:ImageSnapshot = ImageSnapshot.captureImage(previewMode);
var MyFile:FileReference = new FileReference();
MyFile.save(imageSnap.data, 'profile.png');
}
Where "previewMode" is the component Im taking a screendump of (a viewstack) and inside there are some linked images from websites.
Through some testing it seems to stop on -
var imageSnap:ImageSnapshot = ImageSnapshot.captureImage(previewMode);
So it isnt actually getting the image of the output. Any help would be greatly apperciated, you have all been wonderful so far.