theLingorian wrote: Ok - let's get down to business. Adobe has dropped ActionScript and replaced it with JavaScript. False. ActionScript is still fully supported in AS3 and AIR documents. JavaScript is only used in Canvas and WebGL documents. But dropping the ability to dynamically load any XML and use any part of the XML to put content in a dynamic text field? Really? No, not really. You can load any XML document and extract any data you want from it and put that data in textfields just fine. I think not. This simply cannot be true. Correct, none of what you've asserted so far is true. So, guys, how are we supposed to load external text content from any XML file we choose, and use any node we choose to feed our dynamic text fields in runtime in the final HTML5 environment? The same way every other JavaScript application on the planet does so—by using XMLHttpRequest. I just has to be possible to write JavaScript code in the code window of Animate CC that loads an external XML from anywhere, and use the content to display dynamic text. Ah, "from anywhere". Finally the actual complaint rears its head. No, you cannot load an XML file from the local filesystem. This is a security restriction imposed by the browsers. It is completely out of Adobe's control. If you really really need to load data from the local filesystem, you have to use a JS file instead.
...その他を表示