# External SWF Dispatch Help

**URL:** <https://forum.kirupa.com/t/external-swf-dispatch-help/311880>\
**Category:** flash\
**Created:** [July 19, 2010, 2:23pm UTC](https://forum.kirupa.com/t/external-swf-dispatch-help/311880 "2010-07-19T14:23:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bidum00](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@bidum00](https://forum.kirupa.com/u/bidum00)\
**Post date:** [July 19, 2010, 2:23pm UTC](https://forum.kirupa.com/t/external-swf-dispatch-help/311880/1 "2010-07-19T14:23:49Z")

</div>

I’m trying to make an external swf use a different xml file determined by what an user clicks.

Currently, my main DocClass is dispatching to a xmlDispatch DocClass .  
In the xmlDispatch, I have a trace event that traces the correct changes I need.

Now I need for the external swf to pull this dispatch, and us the data to load the correct xml file.

In the external swf, I sue the following to set my xml file.

```auto

xmlLoader = new URLLoader(new URLRequest(modXmlFile));

```

If I change modXmlFile to m1.xml, the external file will load images in. Just not the correct images.
