2012-03-02 7 views

答えて

0

この

var encodedString : String = Base64.encode(imageByteArray); 
var service : HTTPService = new HTTPService(); 
service.method = "POST"; 
service.contentType = 'application/x-www-form-urlencoded'; 
service.url = 'http://www.mydomain.com/upload.php';   
var variables : URLVariables = new URLVariables();  
variables.imageArray = encodedString; 
variables.variable2 = "some text string"; 
variables.variable3 = "some more text";    
service.send(variables); 

のBase64クラスは
http://code.google.com/p/jpauclair-blog/source/browse/trunk/Experiment/Base64/src/Base64.as

から取得してください
関連する問題