# LoadVar problems from an externally loaded swf

**URL:** https://forum.kirupa.com/t/loadvar-problems-from-an-externally-loaded-swf/161625
**Category:** Uncategorized
**Created:** [September 5, 2005, 10:38pm UTC](https://forum.kirupa.com/t/loadvar-problems-from-an-externally-loaded-swf/161625 "2005-09-05T22:38:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![slobber](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@slobber](https://forum.kirupa.com/u/slobber)
#### Post date: [September 5, 2005, 10:38pm UTC](https://forum.kirupa.com/t/loadvar-problems-from-an-externally-loaded-swf/161625/1 "2005-09-05T22:38:25Z")

</div>

i have a swf that is a email form. it works great if you just load this swf on to the server. but i have another swf that loads the email form swf into it. all of it shows up and seems to function except that it doesnt actually send the email.

im guessing the problem is that the code on the send button isnt working with the new pathway. I cant figure out the path.

heres the code that works in the email form  
on (press) {  
\_root.LoadVar(“email.php”, “POST”);  
play();  
}

Any ideas how to change this code to work now that this swf is being loaded into the parent swf?
