« Tidying my desk and real estate | Main | What people are really looking for? »

Calling my picasa pictures in Flash from a database

While this is still not very cool because I haven't added any interactivity to it yet so that people can do fun things by interacting with the photos but I now have a database driven flash file that is pulling each image using an XML file generated in PHP to query a database and the database can be loaded one directory at a time by running a PHP script on any directory of thumbnails (provided it is in the same base path - bimages in my case). Next I'll try adding some menus and a way to look at the larger version of the thumbnail.

The code is as follows:

Flash
PHP code

Comments

Might want to obscure username, password, and db in example 2... :)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)