# loadVariables question

**URL:** <https://forum.kirupa.com/t/loadvariables-question/77866>\
**Category:** Uncategorized\
**Created:** [January 31, 2005, 3:48am UTC](https://forum.kirupa.com/t/loadvariables-question/77866 "2005-01-31T03:48:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bunky](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bunky](https://forum.kirupa.com/u/Bunky)\
**Post date:** [January 31, 2005, 3:48am UTC](https://forum.kirupa.com/t/loadvariables-question/77866/1 "2005-01-31T03:48:07Z")

</div>

i tested the flash/php email form with no problem, but i’m trying to extend from there, lets say a survey form, there are some form and some buttons to click, when people click on the button, it will set variable for what they select, it also has some text field to fill, but text field are set as movieclip symbol, form instance, rest of button are \_root, at the end, when they want to send the data for php to process, the process button will contain such AS:

on (release) {  
form.loadVariables(“email.php”, “POST”);  
}

this only loads variables in form, if i do:

on (release) {  
\_root.loadVariables(“email.php”, “POST”);  
}

this will cover all button’s variable except those in form

HOW DO I COVER BOTH ROOT AND FORM???
