# Passing a Variable Between ASPX (C#) and Flash

**URL:** <https://forum.kirupa.com/t/passing-a-variable-between-aspx-c-and-flash/305273>\
**Category:** flash\
**Created:** [February 22, 2010, 5:30pm UTC](https://forum.kirupa.com/t/passing-a-variable-between-aspx-c-and-flash/305273 "2010-02-22T17:30:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![halfdrawn](https://avatars.discourse-cdn.com/v4/letter/h/c0e974/32.png) [@halfdrawn](https://forum.kirupa.com/u/halfdrawn)\
**Post date:** [February 22, 2010, 5:30pm UTC](https://forum.kirupa.com/t/passing-a-variable-between-aspx-c-and-flash/305273/1 "2010-02-22T17:30:18Z")

</div>

Hello

This is my first venture trying to combine Flash and ASP, although I have come to a snag, I cant seem to transfer the variable from my ASP into my movie.

I have got the variable from the address bar (…?id=1) and I am displaying this in my page (for testing purposes) but Im not sure of the next stage. I tried doing it the same way as you would in php (movie.swf?id=1) but obviously this is not working!

Any help you could provide, or if you could point me in the direction of more info I would be very grateful

Thanks in advance
