Copy link to clipboard
Copied
Suppose I have an E-comm site where there are pics of potatoes and tomatoes,with their prices listed beneath them. These prices are live prices, i.e. they need to be pulled off a server - how would I pull this off?
Also, is there any Animate equivalent to what Generator was for Flash back in the old days? What's a good book that contains info about it, and programming it and so on?
Thanks.
Copy link to clipboard
Copied
Hi.
You can use an XML HttpRequest.
Say for example you want to get some quiz/trivia questions from a database like Open Trivia DB. You could write:
var xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = function ()
{
if (this.readyState == 4 && this.status == 200)
console.log(xhttp.responseText);
};
xhttp.open("GET", "https://opentdb.com/api.php?amount=10", true);
xhttp.send();
You can host your own files as well, of course.
I hope this helps.
Regards,
JC
Copy link to clipboard
Copied
About learning Animate CC, you can:
- Access Adobe offical help;
- Visit Animate's official channel on YouTube.
- Search for online video tutorials and courses on YouTube, bloopanimation.com, Lynda.com / LinkedIn Learning, Pluralsight, snorkl.tv, flash-powertools.com, Skillshare, Udemy, among others;
- Buy books from stores like Amazon;
- Facebook groups, Twitter accounts, and so on.
Regards,
JC
Copy link to clipboard
Copied
I forgot about yours, n. tilcheff​.
I've just edited my comment.
Copy link to clipboard
Copied
Thanks for all that info
Which of those is the GOOD one, though?
Also, in this particular case, I was talking specifically about where to get info on Generator - you didn't answer my question as to whether something like it still exists or not...?
Copy link to clipboard
Copied
You're gonna have to find out depending on your needs and style.
And what do you call Generator? Could you give some example?