Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xml variable name

Status
Not open for further replies.

mmmbob

Programmer
Jul 23, 2003
29
US
Hi,
I'm passing in the name of a variable through xml.And that variable will be used with loadVars to pass stuff to the server. Is there any way in which I can get the name from xml and use that directly? This is what I mean.

xml
<var name=&quot;cat&quot; />
flash
variable = node.attributes.name;

l = new loadVArs();
//how do i get the valueOf varialbe in there.
l.(valueOF(variable)) = &quot;sdfasdf&quot;;
thanks,
 
i wasn't using loadvars with xml...i need to get some stuff out of xml and hten send it to the server using loadVars.....ie get a form variable name from xml......but that's okay...i figured out that solution anyways...is there any other way to submit data to servers using forms other than using loadvars?
 
there are older redundant methods (loadvariables, loadvariablesnum) but stick with loadvars and sendandload for sending data out of flash
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top