# Can someone point me to a tutorial for loading xml swf into another swf

**URL:** https://forum.kirupa.com/t/can-someone-point-me-to-a-tutorial-for-loading-xml-swf-into-another-swf/262834
**Category:** flash
**Created:** [June 10, 2008, 1:44pm UTC](https://forum.kirupa.com/t/can-someone-point-me-to-a-tutorial-for-loading-xml-swf-into-another-swf/262834 "2008-06-10T13:44:08Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wdv](https://avatars.discourse-cdn.com/v4/letter/w/9fc29f/32.png) [@wdv](https://forum.kirupa.com/u/wdv)
#### Post date: [June 10, 2008, 1:44pm UTC](https://forum.kirupa.com/t/can-someone-point-me-to-a-tutorial-for-loading-xml-swf-into-another-swf/262834/1 "2008-06-10T13:44:08Z")

</div>

Can someone point me to a tutorial for loading xml swf into another swf

---

<div class="post-metadata">

### Author: ![MojoMaker](https://avatars.discourse-cdn.com/v4/letter/m/c2a13f/32.png) [@MojoMaker](https://forum.kirupa.com/u/MojoMaker)
#### Post date: [June 10, 2008, 7:23pm UTC](https://forum.kirupa.com/t/can-someone-point-me-to-a-tutorial-for-loading-xml-swf-into-another-swf/262834/2 "2008-06-10T19:23:19Z")

</div>

> [@wdv;2340025](#):
>
> Can someone point me to a tutorial for loading xml swf into another swf

So let me see if I understand correctly… You have a swf that points to an xml file. You want to load that dynamically into another .swf? are you doing this on release, or what??? If on button release, just make it like any other dynamically loaded bit of information, ie:

create a mc for external swf to go into, we’ll call it target\_mc

on AS panel (I am writing this for AS2, dont know AS3 well)

movieclipname.onRelease = function() {  
loadMovie(“filename.swf”, “target\_mc”);  
}

Is this what you are looking for?

The xml info, in my past experience, still will work just fine, you dont need to do anything special to carry that across, as long as you properly told your first .swf to load the xml doc.
