Added capability in SWF to return a dataURI to onSave cb (by base64 encoding of the JPEG)