# MX 2004 not passing strings/variables question mark problem

**URL:** <https://forum.kirupa.com/t/mx-2004-not-passing-strings-variables-question-mark-problem/53426>\
**Category:** flash\
**Created:** [June 3, 2004, 4:32pm UTC](https://forum.kirupa.com/t/mx-2004-not-passing-strings-variables-question-mark-problem/53426 "2004-06-03T16:32:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeezerButler](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@GeezerButler](https://forum.kirupa.com/u/GeezerButler)\
**Post date:** [June 3, 2004, 4:32pm UTC](https://forum.kirupa.com/t/mx-2004-not-passing-strings-variables-question-mark-problem/53426/1 "2004-06-03T16:32:48Z")

</div>

[font=Arial]Hi Kirupa Forum

[/font][font=Arial]I’d be really grateful if anyone knows a workaround or the cause of this problem in Flash MX 2004.

[/font][font=Arial]This actionscript won’t pass names to the URL string  
[color=blue]getURL(\_root.UnitStr+"/detail.asp?unitStr="+names);  
[color=black]or  
[/color]getURL(\_root.UnitStr+"/detail.asp"+"?"+“unitStr=”+names);  
[/color](Returns [[color=red]www.localhost\Inter1\detail.asp[/color]](http://www.localhostinter1detail.asp/))  
but when i take out the questionmark and replace it with an underscore.

[color=white][color=blue]getURL(\_root.UnitStr+"/detail.asp\_unitStr="+names);[/color]  
[/color](Returns [[color=red]www.localhost\Inter1\detail.asp\_unitStr=1[/color]](http://www.localhostinter1detail.asp_unitstr=1/))  
there’s no problem passing the variable.

Thanks for looking and all the best [/font]
