Hi, I want my app to be able to get images from Camera Roll of the device.
I did it for iOS but I have one small problem.
With action script I go into the Camera Roll, then with a MediaPromise instance I read the selected image data and with a loader I add it to the stage after resizing.
The result is an image which is rotate 90 or 180 degrees left or right.
At the beginning I thought was a random effect due to something wrong in the code but after a while I discovered it depends on how the device was oriented when the image has been taken.
What I please ask to explain is if I can fix this problem and how.
Maybe there is something in the MediaPromise data that can help me to know how the image is oriented in order to rotate the loader instance before adding to the stage?