Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6137195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T17:41:44+00:00 2026-05-23T17:41:44+00:00

i have a database in MySQL who i query from a php script. Now

  • 0

i have a database in MySQL who i query from a php script. Now i want to run the same aplication but in local (without the php script, the mysql and whitout the server). I develop the IDE of the new app using flash (AS3), now the think is that i need to migrate the data base too.

I was thinking using SQLite wich is great because it use the same commands that mysql and is local, but i really dont know how to make querys from AS3 to sqlite whitout using php. I was also thinking to develop a simple script who read my actual data base (mysql) and parse all the data to a new XML file who then i can read from the new IDE develop in flash, the problem is, that in this way i have to write all the code for the querys, i mean, when i use php+mysql and i need all the data WHERE reef=2 i just make a simple query, but with the new hypothetical schema flash+xml to make a simple query like that i have to write a lot of code if you know what i mean.

So, if you have any ideas let me know, remember that im developing in AS3 with FLASH. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T17:41:44+00:00Added an answer on May 23, 2026 at 5:41 pm

    adobe air is the only way you can achive this on a local computer.

    here some snippets:

    // connect to SQLite
    var file:File = preferences.resolvePath("data.db");
    var sqlConnection:SQLConnection = new SQLConnection();
    sqlConnection.open(file);
    
    // prepare statement to find photos in album
    var stmtFindPhotosToAlbum:SQLStatement = new SQLStatement();
    stmtFindPhotosToAlbum.sqlConnection = sqlConnection;
    stmtFindPhotosToAlbum.text = "SELECT * FROM photos WHERE album_id = :album_id";
    
    // execute query
    stmtFindPhotosToAlbum.parameters[":album_id"] = 'albumId';
    stmtFindPhotosToAlbum.execute();
    
    // get result
    var photos:Array = stmtFindPhotosToAlbum.getResult().data;
    var photoVos:Array = [];
    if (photos != null && photos.length > 0)
    {
      for(var i:int = 0;i<photos.length;i++)
      {
        // ...
      }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a MySQL database of keywords that are presently mixed-case. However, I want
I have a MySQL database that I want to archive . What is the
I have a number of images who's information is stored in a MySQL database.
I have a MySQL database behind a firewall which can only be accessed via
I have a MySQL database table with a couple thousand rows. The table is
I have a mysql database which has grown to over 200 tables in it.
I have a mysql database filled up and running on a Windows computer, is
I have a mysql database set as utf-8, and csv data set as utf-8,
I have a mysql database which as one of the fields contains a html
I have a MySql database with three tables I need to combine in a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.