0

im not good with as3 and was wondering if someone could help me with this seeing as I cant find the answer on google.

I currently have this

fileReference.save(recorder.output, "recordedfile.wav");

How would I change that so recorder.output saves to my server in the same directory instead of how it is now, which produces a file save window to save on my local hard drive.

Joseph
  • 23
  • 1
  • 4

1 Answers1

0

Basically you will need to send your bytearray to some server-side script that will save it on your server.

Similar question was answered here.

I think the best way to achieve what you want is using URLRequestWrapper class by Jonathan Marston. It is well commented so it should be easy to use. If you are using php you can read on how to receive and save a file on php.net.

Community
  • 1
  • 1
borisgolovnev
  • 1,780
  • 16
  • 20