2012-03-30 1 views
0

ipad에서 파일 참조를 사용할 수 있습니까?Adobe air open ipad 사진을로드하고 movieClip에 이미지로드

파일 참조는 플래시 및 andriod 태블릿에서 작동하지만 ipad에서는 작동하지 않습니다.

/** 
     * uploadNewBackground 
     * 
     * Sets up the position for the panel container and add Event Listener to 
     * all the buttons for different categories and also container a listener 
     * for the zoom in and out function 
     */  
     private function uploadNewBackground(e:MouseEvent):void{ 
      var imageFileTypes:FileFilter = new FileFilter("Images (*.jpg, *.png)", "*.jpg;*.png"); 

      _file = new FileReference(); 
      _file.browse([imageFileTypes]); 
      _file.addEventListener(Event.SELECT, selectFile); 
     } 

답변

2

예, 당신은 카메라 롤의 API를 사용할 필요가

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/CameraRoll.html

이 난 단지에 대한 몇 가지 정보를 알아

http://www.flashandmath.com/mobile/cameraroll/

+0

를 사용하는 방법의 좋은 예입니다 그 덕분에, 매우 대단히 감사드립니다. 다시 도움을 주셔서 감사합니다. 우리 공기 공동체가 잘 자랄 수 있기를 바랍니다. – Bruce

+1

뻔뻔한 플러그. IRC 사용자라면 efnet에 크고 활발한 actionscript 및 flex 커뮤니티가 있습니다. irc.netnet.org #actionscript – francis