A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: saving option is shown in pc but not in a mobile when using filereference in as3

  1. #1
    Junior Member
    Join Date
    Oct 2016
    Posts
    1

    Exclamation saving option is shown in pc but not in a mobile when using filereference in as3

    Hi,
    I made audio recorder application in as3 flash.it works fine in a flash and i save that audio file using fileReference in as3. Code is as folllow-

    function recordComplete(e: Event = null): void {
    var fileTemp = File.applicationStorageDirectory.resolvePath("SAME ER/");
    //if (fileTemp.exists) {
    fileReference.save(recorder.output, "recording.mp3");
    recButton.addEventListener(MouseEvent.CLICK, startRecording);
    //}
    }

    When record completed,it shows save dialogue box in pc.
    But when i installed this app in mobile.Audio file is not saved. Save dialogue box doesn't appear in mobile ."app stopped working" problem appears.
    If Anyone knows solution to this problem,then please tell me.thanks in advance to each and everyone.

  2. #2

  3. #3
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    that website gave me stackoverflow, actually I got stackoverflow error in flash twice

  4. #4
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    The Idea is to get rid of any errors or adapt the code

  5. #5
    Client Software Programmer AS3.0's Avatar
    Join Date
    Apr 2011
    Posts
    1,404
    Last edited by AS3.0; 12-19-2016 at 10:48 AM.

  6. #6
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Last edited by fruitbeard; 12-19-2016 at 11:41 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center