# Simple gallery example Flash with PHP serving image list and image sizes

**URL:** <https://forum.kirupa.com/t/simple-gallery-example-flash-with-php-serving-image-list-and-image-sizes/248490>\
**Category:** open source\
**Created:** [January 8, 2008, 7:50pm UTC](https://forum.kirupa.com/t/simple-gallery-example-flash-with-php-serving-image-list-and-image-sizes/248490 "2008-01-08T19:50:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gvozden](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gvozden/32/1084_2.png) [@gvozden](https://forum.kirupa.com/u/gvozden)\
**Post date:** [January 8, 2008, 7:50pm UTC](https://forum.kirupa.com/t/simple-gallery-example-flash-with-php-serving-image-list-and-image-sizes/248490/1 "2008-01-08T19:50:19Z")

</div>

this is simple gallery example for AS2  
gallery is nothing special ease to use and implement

interesting thing about this example is that you pass a folder, and PHP side gathers images list from folder and returns it to Flash in XML form together with images widths and height which makes it more easier to implement this sort of galleries like I’ve made

example : [http://www.hagane.us/as/gallery/](http://www.hagane.us/as/gallery/)  
ZIP : [http://www.hagane.us/as/gallery/gallery.zip](http://www.hagane.us/as/gallery/gallery.zip)

blogpost : [http://mrsteel.wordpress.com/2008/01/08/flash-image-gallery-example-actionscript-2-using-php-to-list-images-from-folder/](http://mrsteel.wordpress.com/2008/01/08/flash-image-gallery-example-actionscript-2-using-php-to-list-images-from-folder/)
