1 Reply Latest reply: Aug 15, 2007 11:53 PM by Paul Lamonby RSS

    Flash lite -> database

    MortenSJ00 Community Member
      Hi

      I am new to Flash lite and i am currently working on an app for Nokia N95 for a school project. Can anyone tell my how i can get the phone to connect to a database and then pullout data and show them on the phone?

      Morten
        • 1. Re: Flash lite -> database
          Paul Lamonby Community Member
          Hi Morten,

          First you will need to be proficient (but not expert) in 3 technologies, databases (eg MySQL), server scripting (eg PHP) and Flash Lite.

          Then in MySQL, you set up the database to store the data. Write a PHP script to read the data in the database, then parse and 'print' that data into name>value (eg &variable1=data1&variable2=data2) pairs which Flash Lite can then read as variables and values. Then you need to use loadVars() in Flash Lite to read the name>value pairs from the PHP script.

          Thats it in its basics, there are more detailed examples in the Adobe Mobile and Devices Developer Center.

          Regards