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.
yes.
with air for desktop you can use the sqlconnection and related sql classes to create and use a local database.
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.
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.
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.
Copy link to clipboard
Copied
Thanks, I shall give that a try!
Copy link to clipboard
Copied
you're welcome.