Answered
Load external text in Animate
Hello, in flash we was able to load text in dynamic text field from external .XML file. Does anyone know how can I do that in Adobe Animate?
Hello, in flash we was able to load text in dynamic text field from external .XML file. Does anyone know how can I do that in Adobe Animate?
var r = new XMLHttpRequest();
r.addEventListener("load", rF);
r.open("GET", "path/file.xml", true);
r.send();
function rF(e) {
alert(e.target.response);
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.