Sending byteArray (image) and variables to server-side script as POST data in AS3
A couple things here, I first talked about how to send an image and variables to the server (at the same time) on this post , but it felt a bit weird, the file had no name to retrieve it and the variables were sent as GET.
Link:
Sending byteArray (image) and variables to server-side script as POST data in AS3