# How to show the variable value on the asp page

**URL:** <https://forum.kirupa.com/t/how-to-show-the-variable-value-on-the-asp-page/28204>\
**Category:** Uncategorized\
**Created:** [August 11, 2003, 8:36am UTC](https://forum.kirupa.com/t/how-to-show-the-variable-value-on-the-asp-page/28204 "2003-08-11T08:36:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SBUH](https://avatars.discourse-cdn.com/v4/letter/s/4bbf92/32.png) [@SBUH](https://forum.kirupa.com/u/SBUH)\
**Post date:** [August 11, 2003, 8:36am UTC](https://forum.kirupa.com/t/how-to-show-the-variable-value-on-the-asp-page/28204/1 "2003-08-11T08:36:55Z")

</div>

Hello, I want to post variable from flash to asp. I have added on one button the action like

on (release) {  
getURL(“variable.asp?screenx=\_root.scx&screeny=\_root.scy”,’’’\_blank");  
}

where scx and scy is the position of the textfield on the stage. And I can trace the value of scx and scy without any problem.

Then I have in the asp page for receiving the value

\<%  
dim xpos,ypos  
xpos=Request.querystring(“screenx”);  
ypos=Request.querystring(“screeny”);

%\>

But when I use response.write to show the xpos and ypos, it only show \_root.scx and \_root.scy but not the values of them.

How should I modify the code then? THanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 11, 2003, 8:51am UTC](https://forum.kirupa.com/t/how-to-show-the-variable-value-on-the-asp-page/28204/2 "2003-08-11T08:51:10Z")

</div>

A little crosspost… in case anyone wonders why this thread is here. :sigh:
