Can I pick and choose which var to send? or Flash just sends them all?
Printable View
Can I pick and choose which var to send? or Flash just sends them all?
The loadVariables ( with POST or GET ) action sends any variables in the current timeline.
There are two ways so send just the ones you want. Either you put the action in a separate movieclip and define which variables from another timeline to include or put the variables in the URL string ( without POST or GET ( it will work as GET but with just the specified variables)).... like...
this.loadVariables("mysite.com?myVar1="+myVar1+"&m yVar2="+myVar2);
I wish they have something like this, loadVariables("myfile.php",0, "POST", [var1, var2, var3 ...]);
maybe in Flash MX 2006, you think?