Skip to main content
Participant
January 8, 2013
Question

A “loader” problem

  • January 8, 2013
  • 1 reply
  • 296 views

hi:

      

          I use the "UrlLoader" class to load google tts connection, and will always be an error "Stream Error".

But the browser or other language, this is not as3 internal problems. I use the connection "http://translate.google.com/translate_tts?tl=en&q=thank". I hope to be able to answer my 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);

This topic has been closed for replies.

1 reply

Inspiring
January 8, 2013

what are you doing in your onload function?