# Problem with root script when loading swf

**URL:** <https://forum.kirupa.com/t/problem-with-root-script-when-loading-swf/157271>\
**Category:** flash\
**Created:** [July 31, 2005, 6:39pm UTC](https://forum.kirupa.com/t/problem-with-root-script-when-loading-swf/157271 "2005-07-31T18:39:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![redberry](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@redberry](https://forum.kirupa.com/u/redberry)\
**Post date:** [July 31, 2005, 6:39pm UTC](https://forum.kirupa.com/t/problem-with-root-script-when-loading-swf/157271/1 "2005-07-31T18:39:44Z")

</div>

Hi,  
I have problem when loading swf files into my main fla file. I am building my portfolio site and have a main fla file that loads swf files with sliding transition effect when clicked on menu buttons. Right now I have three external swf files: contact.swf, about.swf, identity.swf.

Everything works fine if I don’t link identity.swf file, which has \_root references in a code and causes problems on a main file. I don’t know how to change \_root code, identity.swf works fine on its own, but distorts the timeline of the main file when loaded into the main file. I tried different codes: this., this.\_parent but none of them work, only \_root works for me.

To be more clear I am attaching my identity.fla file with linked images.

I am just a beginner Flash user and new to actionscript, and am at my wits end with this problem. Can somebody please help me to sort this out? I would really appreciate any help.

thanks!
