A “loader” problem
hi:
use "urlloader" class load google tts connection, , error "stream error".
but browser or other language, not as3 internal problems. use connection "http://translate.google.com/translate_tts?tl=en&q=thank". hope able answer questions.
var s:urlloader = new urlloader();
s.dataformat = urlloaderdataformat.binary
s.addeventlistener(event.complete, onload);
var rrr:urlrequest = new urlrequest("http://translate.google.com/translate_tts?tl=en&q=put%20the%20chicken%20and%20onions%20in% 20skillet%20one");
rrr.contenttype = urlrequestmethod.get;
s.load(rrr);
what doing in onload function?
More discussions in ActionScript 3
adobe
Comments
Post a Comment