# Php form path

**URL:** <https://forum.kirupa.com/t/php-form-path/179283>\
**Category:** Uncategorized\
**Created:** [February 18, 2006, 1:30pm UTC](https://forum.kirupa.com/t/php-form-path/179283 "2006-02-18T13:30:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dirksmith](https://avatars.discourse-cdn.com/v4/letter/d/47e85d/32.png) [@dirksmith](https://forum.kirupa.com/u/dirksmith)\
**Post date:** [February 18, 2006, 1:30pm UTC](https://forum.kirupa.com/t/php-form-path/179283/1 "2006-02-18T13:30:00Z")

</div>

hi

I’ve set-up the flash php email form contained in this tutorial ([http://www.kirupa.com/developer/actionscript/flash\_php\_email.htm](http://www.kirupa.com/developer/actionscript/flash_php_email.htm)).

It was working fine until I put the form movie clip within another movie clip (so the contact.swf with the email form is loaded into a movie clip holder on the main timeline).

It’s now not working.

So a problem with the path - tried to fix this with [COLOR=Red]this.\_lockroot=true;[/COLOR] on the first frame of the loaded movie clip but not successful.

So the issue seems to be the ‘form’ part of the main email script below.

on (release) {  
// send variables in form movieclip (the textfields)  
// to email PHP page which will send the mail  
form.loadVariables(“[http://www.dirksmith.com/index2.php](http://www.dirksmith.com/index2.php)”, “POST”);  
}

Tried variations on form.loadVariables (this.form.loadVariables and \_root.form.loadVariables) - but again - not working.

Any ideas for getting the email form to work within a nested movie?

Thanx

d
