MX 2004 not passing strings/variables question mark problem

[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])
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])
there’s no problem passing the variable.

Thanks for looking and all the best [/font]