Highlighted

Server interaction with client

New Here ,
Aug 14, 2019

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.

TOPICS
Discussions

Views

204

Likes

Translate

Translate

Report

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

Server interaction with client

New Here ,
Aug 14, 2019

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.

TOPICS
Discussions

Views

205

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 14, 2019 0
Adobe Community Professional ,
Aug 14, 2019

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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 14, 2019 2
Adobe Community Professional ,
Aug 14, 2019

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

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 14, 2019 1
Adobe Community Professional ,
Aug 14, 2019

Copy link to clipboard

Copied

I forgot about yours, n. tilcheff​.

I've just edited my comment.

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 14, 2019 1
New Here ,
Aug 18, 2019

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...?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 18, 2019 0
Adobe Community Professional ,
Aug 18, 2019

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?

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 18, 2019 0