Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

A “loader” problem

New Here ,
Jan 08, 2013 Jan 08, 2013

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%...");

rrr.contentType = URLRequestMethod.GET;

s.load(rrr);

TOPICS
ActionScript
281
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Jan 08, 2013 Jan 08, 2013
LATEST

what are you doing in your onload function?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines