You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the following code on an iPad mini and the callback seems to be returning the path to the file but when I try to access it using a URLRequest its saying the URL is not found.
public function onImagePicked(status:String, image:String):void
{
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
loader.load(new URLRequest(image));
}`
If I try to use either of the following I get type conversion errors.
public function onImagePicked(status:String, bmd:BitmapData, ba:ByteArray ):void
public function onImagePicked(status:String,imageArray:Array):void
The Docs say its supposed to return a BitmapData instance representing the image, and a ByteArray instance containing a JPEG representation of the image but this isn't the case.
The text was updated successfully, but these errors were encountered:
I have exactly the same pb.
It was working like a charm with the previous version but I updated the ane to have the 64 bits support for an app update. And since this update I am not apple to retrieve the byteArray like before.
Any suggestion ?
I am using the following code on an iPad mini and the callback seems to be returning the path to the file but when I try to access it using a URLRequest its saying the URL is not found.
`if (AirImagePicker.getInstance().isCameraAvailable())
{
AirImagePicker.getInstance().displayCamera(onImagePicked);
}
public function onImagePicked(status:String, image:String):void
{
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
loader.load(new URLRequest(image));
}`
If I try to use either of the following I get type conversion errors.
public function onImagePicked(status:String, bmd:BitmapData, ba:ByteArray ):void
public function onImagePicked(status:String,imageArray:Array):void
The Docs say its supposed to return a BitmapData instance representing the image, and a ByteArray instance containing a JPEG representation of the image but this isn't the case.
The text was updated successfully, but these errors were encountered: