# Why the \_x position of textfield changed after loadVars() ---MX

**URL:** <https://forum.kirupa.com/t/why-the--x-position-of-textfield-changed-after-loadvars-mx/28763>\
**Category:** Uncategorized\
**Created:** [August 18, 2003, 7:04am UTC](https://forum.kirupa.com/t/why-the--x-position-of-textfield-changed-after-loadvars-mx/28763 "2003-08-18T07:04:05Z")\
**Posts on this page:** 3\
**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 18, 2003, 7:04am UTC](https://forum.kirupa.com/t/why-the--x-position-of-textfield-changed-after-loadvars-mx/28763/1 "2003-08-18T07:04:05Z")

</div>

I have in the asp page the values like screenx=617&screeny=-8.5&text=dsdsdsds&

And I create an new flashpage which only has a textfield(which named as screen) to receive the text from asp page and position it to the place.  
myData = new LoadVars();  
myData.source = “[http://localhost/myweb/cart.asp](http://localhost/myweb/cart.asp)”;  
myData.load(myData.source,myData);  
myData.onLoad = function(){  
\_root.screen.text= myData.text;  
\_root.screen.\_x = this.screenx;  
\_root.screen.\_y = this.screeny;  
};

the result of the \_y of screen seems the same as the value in asp, but not the \_x value!!

Is there something related with the setting of the flashpage which make the result different? Thanks in advance and wait for your reply

---

<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 18, 2003, 7:40am UTC](https://forum.kirupa.com/t/why-the--x-position-of-textfield-changed-after-loadvars-mx/28763/2 "2003-08-18T07:40:37Z")

</div>

try outputting

&screenx=617

instead of

screenx=617

---

<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 18, 2003, 8:23am UTC](https://forum.kirupa.com/t/why-the--x-position-of-textfield-changed-after-loadvars-mx/28763/3 "2003-08-18T08:23:26Z")

</div>

thanks, it looks better! and now in asp page,I also have  
&font=Comic Sans&color=16711680& for the textfield

how about these infos. how should I add the code so that these info can also show on the flashpage then?? THanks indeed!!!

And for the galleryimage which the user have chosen, I have &galleryimage=2& 2 is the name of the gallery image, how should I write in the flashpage to retrieve it back from the directory of /uploadedimage/ folder on the server. Or is it better to save the directory than the name of it in the database???
