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

Animate 2020: About JavaScript & CreateJS

New Here ,
Jul 30, 2020 Jul 30, 2020

Hello good afternoon! I have a question, I have a code in Action 3.0 I'm trying to convert to JavaScript but I'm not getting it. can you help me? Preciso que ele puxe um XML na animação, mas não está funcionando.

 

import flash.display.MovieClip;

stop();

var meuURL:XMLHttpRequest = new XMLHttpRequest("Name XML"+Math.random());
//var meuURL:URLRequest = new URLRequest("Name XML");
var arquivo:XML;
var infoXML:XMLHttpoader = new XMLHttpoader ();
infoXML.load( meuURL );
infoXML.addEventListener(Event.COMPLETE, verificaXML);


function verificaXML(evento:Event):void
{
this.arquivo = new XML(infoXML.data);
this.play();
}


var cont_n = 0;
var j = 0;
var boo:Boolean = true;

 

Thanks for listening.
 
 

 

104
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
LEGEND ,
Jul 30, 2020 Jul 30, 2020
LATEST
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