# MX : Passing Variables to Command String

**URL:** <https://forum.kirupa.com/t/mx-passing-variables-to-command-string/47750>\
**Category:** flash\
**Created:** [April 6, 2004, 11:14pm UTC](https://forum.kirupa.com/t/mx-passing-variables-to-command-string/47750 "2004-04-06T23:14:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geophurry](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/geophurry/32/244_2.png) [@geophurry](https://forum.kirupa.com/u/geophurry)\
**Post date:** [April 6, 2004, 11:14pm UTC](https://forum.kirupa.com/t/mx-passing-variables-to-command-string/47750/1 "2004-04-06T23:14:10Z")

</div>

I’m trying to design an interface that to simplify the construction of a string. Here’s an example: My output (using the getURL command) needs to be in the form of:

[http://fakesite.com:8080/java/submitdata.jsp?thing1=x&thing2=y&thing3=z](http://fakesite.com:8080/java/submitdata.jsp?thing1=x&thing2=y&thing3=z)

I’m able to define variables for x, y, and z, however I am unable to figure out how to substitute the defined values for those variables into the string when it is time to send it.

I may not be being very clear here, but does anyone have any ideas?

Thanks

Jeff Kirsch
