# Is this possible: Javascript telling Flash to load new XML?

**URL:** <https://forum.kirupa.com/t/is-this-possible-javascript-telling-flash-to-load-new-xml/201811>\
**Category:** flash\
**Created:** [September 25, 2006, 12:40pm UTC](https://forum.kirupa.com/t/is-this-possible-javascript-telling-flash-to-load-new-xml/201811 "2006-09-25T12:40:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IMJ](https://avatars.discourse-cdn.com/v4/letter/i/d2c977/32.png) [@IMJ](https://forum.kirupa.com/u/IMJ)\
**Post date:** [September 25, 2006, 12:40pm UTC](https://forum.kirupa.com/t/is-this-possible-javascript-telling-flash-to-load-new-xml/201811/1 "2006-09-25T12:40:04Z")

</div>

Hey all,

I’m working on Portfolio site for my photos. Here’s what I want to do:

1. I have a slideshow gallery using Flash and XML to load several photos (based on this tutorial [http://www.kirupa.com/developer/mx2004/xml\_flash\_photogallery.htm](http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm));
2. Next to the slideshow I have thumbnails of albums, which uses CSS to display everything;

Both are working properly now, but here’s the tricky part. I want Flash to load a new XML in the slideshow when I click on a thumbnail. I know how to do this within Flash, but is it possible using Javascript to do that? Of course, it’s always possible to do the same thing with iframes, but I’d rather keep it in one file.

Am I too ambitious or is it really possible? Any help appreciated! Thanks!
