# Want to pass a value to variable

**URL:** <https://forum.kirupa.com/t/want-to-pass-a-value-to-variable/231053>\
**Category:** Uncategorized\
**Created:** [July 1, 2007, 6:27pm UTC](https://forum.kirupa.com/t/want-to-pass-a-value-to-variable/231053 "2007-07-01T18:27:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gn\_love\_vel\_m21](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gn\_love\_vel\_m21](https://forum.kirupa.com/u/gn_love_vel_m21)\
**Post date:** [July 1, 2007, 6:27pm UTC](https://forum.kirupa.com/t/want-to-pass-a-value-to-variable/231053/1 "2007-07-01T18:27:12Z")

</div>

_init;  
function init()  
{  
vx = x;  
ball = attachMovie(“ball”, “ball”, 0);  
ball.\_x = 0;  
ball.\_y = Stage.height / 2;  
}  
\*  
Using the above script i want to get the value from **asp** page and use for **x** using \*\*\*loadVariables()_\*\*.\*\*\*\*How its Possible…\*\*\*\*Please anybody give a immd solution…

Gnanavel
