# External swf doesnt load xml

**URL:** <https://forum.kirupa.com/t/external-swf-doesnt-load-xml/202354>\
**Category:** Uncategorized\
**Created:** [September 30, 2006, 12:22am UTC](https://forum.kirupa.com/t/external-swf-doesnt-load-xml/202354 "2006-09-30T00:22:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![colombianking](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@colombianking](https://forum.kirupa.com/u/colombianking)\
**Post date:** [September 30, 2006, 12:22am UTC](https://forum.kirupa.com/t/external-swf-doesnt-load-xml/202354/1 "2006-09-30T00:22:21Z")

</div>

I have a main swf [1] that loads an external swf [2] into it  
In the external swf [2] there is a movieclip that when pressed loads some information from an XML file  
when i try the external swf [2] it works fine but when i try it from the main swf [1] it doesnt work

here is the code for the movieclip

i tried putting \_root. or this. but that didnt work

```auto
this.onRelease = function(){
    portfolio_xml.load('xml/portfolio4.xml');
}

```
