contact

Using Mysql Data in Flash via php

In this post I want to describe a very simple technique I use in order to read Mysql data into flash via a php-dynamically created xml file. So what do you need to get this work:

  • a Mysql Database filled with Data of your choice
  • a php capable webserver, if you dont want to upload everytime for testing try installing

    Tags: , , , ,

  1. Thank you for the tut!

    code error: $fields=get_fields($table) — needs — ;
    nothing major.

    How do I call this function/script/thing.

    I have an events page on my site and I want to display the event in from my db.

    Should I make this .fl file the first frame on my site, so that everytime it loads the4 data is retrieved?

    Sorry for the dumb question my AS … well sucks

  2. Hi

    I don’t really understand your question. the fla file is just some sample code. so in order to use this in your site you would need to add this code to your events page – how thats done depends greatly on the way your site was coded. but I am afraid that without actionscript this will not work very well?