79253

How to upload a picture/image from iPhone to App in ActionScript 3?

Question:

I'm building an App with actionscript 3.0 in my Flash builder. but I'm having trouble finding code to use to upload an image in my phone to the app? can you link me/or post to sample code to achieve this task?

Thanks!

~Myy

Answer1:

I believe you are looking for the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraRoll.html" rel="nofollow">CameraRoll</a> class. It allows the user to select an image from the device's "camera roll"

Answer2:

You can use this code <a href="https://stackoverflow.com/questions/10595050/flash-cs5-5-photo-is-rotated-when-capture-a-photo-using-cameraui-on-iphone" rel="nofollow">Capture Photo using CameraUI</a>, but picture orientation won't work properly on phone devices.

Recommend

  • Stream webcam via. Wowza streaming server
  • Loading an embedded image in AS3
  • Editable Combo Box Javascript and HTML
  • Retrieving a contacts notes
  • Installing apk from within application in android
  • How to merge two Request in Laravel
  • Unique SMS sender id?
  • EntLib Way to Bind “Null” Value to Parameter
  • Flash radiobutton: how do I get the selected radiobutton?
  • perl, mysql - fasting way to upload a csv file into mysql?
  • Django model inheritance, filtering models
  • Reading a file into a multidimensional array
  • Android application: how to use the camera and grab the image bytes?
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • Webgrid not refreshing after delete MVC
  • azure media services - The request body is too large and exceeds the maximum permissible limit
  • Python urlparse: small issue
  • Jquery UI tool tip close icon
  • How to clear text inside text field when radio button is select
  • Read a local file using javascript
  • Scrapy recursive link crawler
  • FileReader+canvas image loading problem
  • req.body is undefined - nodejs
  • Is possible to count alias result on mysql
  • Symfony2: How to get request parameter
  • Akka Routing: Reply's send to router ends up as dead letters
  • Is there a mandatory requirement to switch app.yaml?
  • Traverse Array and Display in markup
  • Benchmarking RAM performance - UWP and C#
  • Acquiring multiple attributes from .xml file in c#
  • Free memory of cv::Mat loaded using FileStorage API
  • coudnt use logback because of log4j
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Memory offsets in inline assembly
  • Turn off referential integrity in Derby? is it possible?
  • Qt: Run a script BEFORE make
  • How can I remove ASP.NET Designer.cs files?
  • python draw pie shapes with colour filled
  • java string with new operator and a literal
  • jQuery Masonry / Isotope and fluid images: Momentary overlap on window resize