# loadVariables in a child

**URL:** <https://forum.kirupa.com/t/loadvariables-in-a-child/295922>\
**Category:** flash\
**Created:** [September 7, 2009, 2:22pm UTC](https://forum.kirupa.com/t/loadvariables-in-a-child/295922 "2009-09-07T14:22:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelpop](https://avatars.discourse-cdn.com/v4/letter/m/a698b9/32.png) [@michaelpop](https://forum.kirupa.com/u/michaelpop)\
**Post date:** [September 7, 2009, 2:22pm UTC](https://forum.kirupa.com/t/loadvariables-in-a-child/295922/1 "2009-09-07T14:22:53Z")

</div>

Hello

I have a little flash plugin, which is a form to submit the user’s mail address to a database for receiving a newsletter.  
The flash contains a dynamic textbox where the user enters his mail address, which has the variable-name “u”. The code must also send the newslettername (variable “l”) and the command (variable “cmd”).  
The code for the submit-button looks like this:

Source code

var cmd = “subscribe”;  
var l = “office”;  
mailform = “admin/u.php”;  
this.loadVariablesNum(mailform,this,“POST”);

When I load the swf alone in the browser, it sends the data perfectly to the php database. When the swf is loaded into another movie (as a child), nothing works, it appears but it doesn’t send data.

Could somebody give me a solution WHY it doesn’t send anything to PHP?? ![](http://forum.kirupa.com/uploads/kirupa/1799/6a24f1d926eff459.gif)

Thanks

Mike
