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

Getting questions & answers from a database in ActionScript 3

Participant ,
Dec 28, 2016 Dec 28, 2016

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.

296
Translate
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.

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

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.

Translate
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

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.

Translate
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

yes.

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

Translate
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

Thanks, I shall give that a try!

Translate
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
LATEST

you're welcome.

Translate
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