loadVarNum Question?

Hello

trying to load a var from a PHP file with this code.
[AS]
on (press) {
results = “Sending Data…”;
loadVariablesNum(“mailform.php”, 1, “POST”);
} {[/AS]

I´ve used the code before and i works fine if the form I use is loaded into level 1.

But now I´ve animated the form is in within a MC ( mc,ruta ) within a MC ( mc,form ) and the loadVarNum doesn´t “reach” the php file.

Man I could use some help here, it´s probobly easy but I´m stuck.

Please help

THX

How´s that for irony, half an hour later I soved it… but before I posted I´d tried for 2 days with no luck, guess posting is a catalysator for the brain ( or luck ).

Here´s the code in case someone needs it for similar problems.

[AS]
on (press) {
results = “Sending Data…”;
loadVariables(“mailform.php”, level1.mcRuta.mcText2, “POST”);
} {[/AS]

try
[AS]
on (press) {
this.results = “Sending Data…”;
this.loadVariablesNum(“mailform.php”, 1, “POST”);
}
[/AS]

“this” will refer to the movie clip

glad to see you figured it out, try my way just to see --less code

I figured it would be something easy but i couldn´t for the life of it figure it out.
Thanks Digi… much better solution!

no problem