# Problem with external swf and xml

**URL:** <https://forum.kirupa.com/t/problem-with-external-swf-and-xml/318922>\
**Category:** flash\
**Created:** [February 3, 2011, 3:27pm UTC](https://forum.kirupa.com/t/problem-with-external-swf-and-xml/318922 "2011-02-03T15:27:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toke](https://avatars.discourse-cdn.com/v4/letter/t/e495f1/32.png) [@Toke](https://forum.kirupa.com/u/Toke)\
**Post date:** [February 3, 2011, 3:27pm UTC](https://forum.kirupa.com/t/problem-with-external-swf-and-xml/318922/1 "2011-02-03T15:27:19Z")

</div>

Hi!  
Im using the actionscript and xml from this thread:

> **[XML Image Gallery w/ Crossfades?](https://www.kirupa.com/forum/showthread.php?t=212112&highlight=xml+gallery+autoplay)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

To make an autoplaying gallery with xml. Works just fine. And I load it into my main swf and it still works fine. But when i change to another external swf and then back to my gallery it stops from working. What might be the problem?

looks like this:  
Main.swf  
--------|- Hold.swf  
--------------------|gallery1.swf  
--------------------|gallery2.swf

etc.

I hope someone can help me and I apologize for any typos and bad grammar.
