mobcar-media
April 5th, 2003, 01:17 PM
Hey guys here's a silly question (i hope):
I'm trying to get some data back from a PHP script I wrote, and when I hand code a query string into loadVariables() the flash end of this whole thing works correctly... the dynamic text fields populate properly.
But, when I try to create a URL based on some input text that I am trying to send, I get nothing.
Here's the offending script attached to a movie clip that holds my text field:
onClipEvent(load){
loadVariables("http://www.mobcar.com/rbng.php?firstName="+firstName+"&lastName="+lastName, this, "POST");
trace("name: "+rbngFirst+" "+rbngLast);
}
trace just says "name: "... nothing more.
I tried using a loadVars solution as well... still nothing.
I've attached my .fla in case anyone wants to dive deeper.
I am incredibly rusty at AS (was never that great to begin with), so any help is much appreciated.
I'm trying to get some data back from a PHP script I wrote, and when I hand code a query string into loadVariables() the flash end of this whole thing works correctly... the dynamic text fields populate properly.
But, when I try to create a URL based on some input text that I am trying to send, I get nothing.
Here's the offending script attached to a movie clip that holds my text field:
onClipEvent(load){
loadVariables("http://www.mobcar.com/rbng.php?firstName="+firstName+"&lastName="+lastName, this, "POST");
trace("name: "+rbngFirst+" "+rbngLast);
}
trace just says "name: "... nothing more.
I tried using a loadVars solution as well... still nothing.
I've attached my .fla in case anyone wants to dive deeper.
I am incredibly rusty at AS (was never that great to begin with), so any help is much appreciated.