# Passing a query to flash

**URL:** <https://forum.kirupa.com/t/passing-a-query-to-flash/158728>\
**Category:** programming\
**Created:** [August 11, 2005, 1:55pm UTC](https://forum.kirupa.com/t/passing-a-query-to-flash/158728 "2005-08-11T13:55:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qugh](https://avatars.discourse-cdn.com/v4/letter/q/76d3ee/32.png) [@Qugh](https://forum.kirupa.com/u/Qugh)\
**Post date:** [August 11, 2005, 1:55pm UTC](https://forum.kirupa.com/t/passing-a-query-to-flash/158728/1 "2005-08-11T13:55:38Z")

</div>

Here’s the need:

I’m going to be making a gallery of “thumbnails” which are all a flash file dynamically loading new content in each. So a single html page will house up to 48 copies of that same swf loading a new picture in each.

There has to be a way to load a flash file with a query at the end right? Like filename.swf?id=123&thispage=123 right? If so, how do I access those variables passed to flash?

My idea was to write my standard loop (in PHP) posting a new swf in each iteration but change the query string with each so that I can load the new content.
