A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Loading external data into Flash

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    4

    Loading external data into Flash

    Hi all,

    I am doing some kind of quiz app. The problem is that I need to find a way to store all the questions. This storage interacts with the app in 2 ways: question stored can be extracted to display in the app + the user can use the app to add question to the database. The displaying part and the interface to add questions are done, I'm just troubled with the actual storage of data 'cause everything I've done till now only involves temporal input which is not stored whatsoever.

    'Cause I'm highly unfamiliar with external data manipulation, I'd like some suggestion and directions to achieve a good system to handle these 2 functions.

    Thank all!

  2. #2
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    You said you were storing the questions in a database? If so, then use PHP or another server-side scripting language to add the questions
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  3. #3
    Registered User
    Join Date
    Jul 2011
    Posts
    4
    Thanks for that.
    However, I cannot code php at all.
    That's why at this stage of the app, I only intend it to be used offline as a model to test other functionalities. So I will just be streaming data from some files into Flash and use Flash to add information to this database.
    If that's the case, any suggestion?

  4. #4
    Dignitary rynoe's Avatar
    Join Date
    Jan 2003
    Location
    Earth
    Posts
    760
    The AIR platform will allow you to read, write and create files. Which then you could use XML or plain text files to store and retrieve data from your PC.
    Last edited by rynoe; 05-23-2012 at 03:33 PM. Reason: Oven exploded.
    [SIGPIC][/SIGPIC]

  5. #5
    Registered User
    Join Date
    Jul 2011
    Posts
    4
    Thanks. I will settle with text files first.

    I plan to export this to Android using Air. Will the same function (meaning store and retrieve from text files) remains?

    And is there some good tutorials on this?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center