Host Name: localhostDatabase Name: store
Table Name: products
Db User: root
Db password: no password
Here is PHP code

Run this php file on your server and check the source code its look like.

Now time to read xml file using flash. Create new document in Flash. Create two layers. One action layer and other for output of data.

Own output layer create list component. In component panel drag and drop list component on to stage in its property panel give it instance name “mylist”.

Now move to action layer frame 1 hit the “F9” key action panel open write this code.

Output
Complete Source Code
How to load dynamic data into flash. In this tutorial we use mysql database, php, xml & flash. Using php we create xml file and load that xml into flash swf movie.


