Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 05-15-2012, 11:32 AM   #1
fabyo
Registered User
 
Join Date: May 2012
Posts: 6
Question Problems loading MediaPromise from CameraRoll

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?


Thank you...
fabyo is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.