# Trying to pass variable how can I escape ""

**URL:** <https://forum.kirupa.com/t/trying-to-pass-variable-how-can-i-escape/256733>\
**Category:** flash\
**Created:** [April 6, 2008, 6:00pm UTC](https://forum.kirupa.com/t/trying-to-pass-variable-how-can-i-escape/256733 "2008-04-06T18:00:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Multi\_Task](https://avatars.discourse-cdn.com/v4/letter/m/c6cbf5/32.png) [@Multi\_Task](https://forum.kirupa.com/u/Multi_Task)\
**Post date:** [April 6, 2008, 6:00pm UTC](https://forum.kirupa.com/t/trying-to-pass-variable-how-can-i-escape/256733/1 "2008-04-06T18:00:44Z")

</div>

AS 2.0  
Trying to pass a variable as well and cant seem to escape to pass it. How can I pass using window.open as such: Trying to pass (pid) all i get back is (pid) and not actual pid.

How to on a jscommand?

```auto

something.onRelease = function () {
var jscommand:String = "window.open('http://www.someform.php?proj= + (pid)','win','height=200,width=300,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);"); }

```

I can do a standard getUrl(“[http://www.someform.php?proj=](http://www.someform.php?proj=)” + (pid), “\_blank”);  
works fine but no control over window properties.

MT
