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

Getting questions & answers from a database in ActionScript 3

Participant ,
Dec 28, 2016 Dec 28, 2016

Copy link to clipboard

Copied

Hi all,

I'm new to using Animate and wanted to know if there were any tutorials on how to retrieve question and answers from a database and use them as part of a test.

From what I have seen already, I know its classed as a security flaw having to allow all connections to the database but it doesn't matter for this - no personal data is being stored.

Thanks in advance,

Jack.

Views

219

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
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 29, 2016 Dec 29, 2016

yes.

with air for desktop you can use the sqlconnection and related sql classes to create and use a local database.

Votes

Translate

Translate
Community Expert ,
Dec 28, 2016 Dec 28, 2016

Copy link to clipboard

Copied

i've used actionscript (urlloader) to communicate with php and the php to query the database.

for mobile air apps, i've also used actionscript to communicate with google's firebase using myflashlabs ane's.

Votes

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
community guidelines
Participant ,
Dec 29, 2016 Dec 29, 2016

Copy link to clipboard

Copied

Thanks, kglad.

Will I be able to select random rows from my database with this to show different questions to the user with more than 1 answer by using URLLoader?

This is just doing to be a desktop app.

Votes

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
community guidelines
Community Expert ,
Dec 29, 2016 Dec 29, 2016

Copy link to clipboard

Copied

yes.

with air for desktop you can use the sqlconnection and related sql classes to create and use a local database.

Votes

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
community guidelines
Participant ,
Dec 29, 2016 Dec 29, 2016

Copy link to clipboard

Copied

Thanks, I shall give that a try!

Votes

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
community guidelines
Community Expert ,
Dec 29, 2016 Dec 29, 2016

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

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
community guidelines