saving option is shown in pc but not in a mobile when using filereference in as3
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
    Senior Member
    Join Date
    Apr 2011
    Posts
    766
    that website gave me stackoverflow, actually I got stackoverflow error in flash twice
    a* on an ic!

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

  5. #5
    Senior Member
    Join Date
    Apr 2011
    Posts
    766
    Last edited by Alloy Bacon; 12-19-2016 at 10:48 AM.
    a* on an ic!

  6. #6
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,700
    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

Poll by Flashkit.com