# Pass variables from ASP to MX

**URL:** <https://forum.kirupa.com/t/pass-variables-from-asp-to-mx/53981>\
**Category:** flash\
**Created:** [June 9, 2004, 10:18pm UTC](https://forum.kirupa.com/t/pass-variables-from-asp-to-mx/53981 "2004-06-09T22:18:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![steveb1164](https://avatars.discourse-cdn.com/v4/letter/s/c37758/32.png) [@steveb1164](https://forum.kirupa.com/u/steveb1164)\
**Post date:** [June 9, 2004, 10:18pm UTC](https://forum.kirupa.com/t/pass-variables-from-asp-to-mx/53981/1 "2004-06-09T22:18:13Z")

</div>

[font=verdana, arial, helvetica][size=2]This ASP line works fine for my flash movie:

Response.Write “&firstname=Mike&”

But this returns one quotation mark:

Response.Write “&firstname=” & firstname & “&”

I also tried this:

test = “&firstname=” & firstname & “&”

Response.write test

That doesn’t work either.

How can I put variable names in the Response.write and get Flash MX to take it.

Here is my Action Script:

myData = new LoadVars();  
myData.onLoad = function() {  
leaguename.text = this.leaguename;  
};  
myData.load(“livedraftvar.asp”);  
stop();[/size][/font]
