Quantcast
Channel: Adobe Community : Popular Discussions - AIR Development
Viewing all articles
Browse latest Browse all 24121

FileReference.upload with CameraRoll Media Promise

$
0
0

    I have been trying to wrap my head around this all day...

 

With the new cs5.5 and air2.6, you can access the mediaPromise object of a selected CameraRoll item.  I want to be able to upload a selected image to a file server.  I know how to do it via the filereference class and upload method, but I can't do that here because you have to have a user browse for an imaget to select with the filreference.browse() method. 

 

Is there a way to push the camera roll media promise object (or just the path) to the filereference.upload method to accomplish this, or were we given access to the camera roll to *ONLY*  be able to view the pictures and not actually send them anywhere?


Viewing all articles
Browse latest Browse all 24121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>