вообще я только что нашел решение проблемы оно ниже если кому пригодится и реально настолько просто, что я даже упустил это из головы),
но тем не менее хотелось бы узнать вот что -
при кодировании байт-массива в JSON насколько вырастет его размер? если например то, что у меня сейчас есть, создает картинку в среднем размером около 100кб, т.е. как я понимаю на сервер отправляется около 100кб какой-то информации..
а это тот способ, которым можно отправить остальные переменные:
The thing is, there is no actual documentation when you want to send both a byteArray and variables. As you can see in the examples, when you send variables, you set the data property of the URLRequest equal the your URLVariables, but when you send a byteArray you also set the data property equal to your byteArray. So you cannot send both type of data at the same time this way. The way I found is actually pretty simple and I don’t why others have not blogged about this (trust me I have looked for this). What you do is you set the data of the URLRequest equal to the byteArray, but you put your variables in the url String of the URLRequest. Here is some code showing it:

Код AS3:
package {
import flash.display.Sprite;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.net.URLRequestMethod;
import flash.display.BitmapData;
import flash.utils.ByteArray;
import com.adobe.images.JPGEncoder;
public class ByteArrayAndVariableSendExample extends Sprite {
public function ByteArrayAndVariableSendExample() {
var url:String = "http://www.[yourDomain].com/receiveFile.php?exampleSessionId=" + new Date().getTime() + "&exampleUserLabel=guest" ;
var someBitmapData:BitmapData = new BitmapData();//let say we have some bitmapdata
//using the jpeg encoder from the core library
var jpgEncoder:JPGEncoder = new JPGEncoder(80);
var myByteArray:ByteArray = jpgEncoder.encode(someBitmapData);
var request:URLRequest = new URLRequest(url);
request.method = URLRequestMethod.POST;
request.data = myByteArray;
var loader:URLLoader = new URLLoader();
loader.load(request)
}
}
}