tranism
September 3, 2003, 9:41am
1
This is just an example written to explain what I’m saying. . .
[AS]
formData = new LoadVars ();
formData.textInput = “”;
formData.textInput.text;
formData.send(“http//www.blah.blahblah.com/somescript.php,” “”, “POST”);
[/AS]
okay now can somebody explain to me why i can’t pass my variables to my script when his actionscript is no longer being executed from the root?
system
September 3, 2003, 9:53am
2
Your code is not logical. formData cannot be of type loadVars and of type String at the same time…
pom
system
September 3, 2003, 9:58am
3
Sorry, it was a typo. I’ve corrected it
system
September 3, 2003, 10:11am
4
what if I do this
[AS]
formData = new LoadVars();
_global.formData.textInput = ‘’;
_global.formData.textInput.text;
formData.send("http://www.blah.blahblah.com/somescript.php," “”, “POST”);
[/AS]
Remember the problem I’m having is this code will be loaded into my main movie. The variables weren’t passing because the variables were no longer root.