# I have to solve this problem: php to flash!

**URL:** <https://forum.kirupa.com/t/i-have-to-solve-this-problem-php-to-flash/190383>\
**Category:** flash\
**Created:** [June 11, 2006, 8:37am UTC](https://forum.kirupa.com/t/i-have-to-solve-this-problem-php-to-flash/190383 "2006-06-11T08:37:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hyacinth](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hyacinth](https://forum.kirupa.com/u/hyacinth)\
**Post date:** [June 11, 2006, 8:37am UTC](https://forum.kirupa.com/t/i-have-to-solve-this-problem-php-to-flash/190383/1 "2006-06-11T08:37:10Z")

</div>

This is my script(xmlphotogallery2.fla):

## within “action layer” myPhoto = new XML(); myPhoto.ignoreWhite = true; myPhoto.onLoad = function(success) { //portfolioTag = this.firstChild; numimages = this.firstChild.childNodes.length; spacing = 130; for (i=0; i\<numimages; i++) { this.picHolder = this.firstChild.childNodes\*; this.thumbHolder = thumbnails.createEmptyMovieClip(“thumbnail”+i, i); this.thumbHolder.\_x = i\*spacing; this.thumbLoader = this.thumbHolder.createEmptyMovieClip(“thumbnail\_image”, 0); this.thumbLoader.loadMovie(this.picHolder.attributes.thmb); this.thumbHolder.title = this.picHolder.attributes.title; this.thumbHolder.main = this.picHolder.attributes.main; this.thumbHolder.onRelease = function() { \_root.backgroundimage.\_visible=false; loader.loadMovie(this.main); title\_txt.text = this.title; }; } }; myPhoto.load( **gallery.php** );

when a user type their address e.g: [http://localhost/gallery/gallery.php?id=123456](http://localhost/gallery/gallery.php?id=123456)

internet explorer shows their gallery. So, myPhoto.load( **gallery.php** ); , **gallery.php** should not be used because this will be **gallery.php?id=123, gallery.php?id=124…**

[LEFT]How to make it happen, when a user type [http://localhost/gallery/gallery.php?id=123456](http://localhost/gallery/gallery.php?id=123456), explorer shows his gallery??[/LEFT]
