# \[AS3\] retrieving variables URLLoader.data

**URL:** <https://forum.kirupa.com/t/as3-retrieving-variables-urlloader-data/220263>\
**Category:** flash\
**Created:** [March 24, 2007, 12:25pm UTC](https://forum.kirupa.com/t/as3-retrieving-variables-urlloader-data/220263 "2007-03-24T12:25:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skatehead](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@skatehead](https://forum.kirupa.com/u/skatehead)\
**Post date:** [March 24, 2007, 12:25pm UTC](https://forum.kirupa.com/t/as3-retrieving-variables-urlloader-data/220263/1 "2007-03-24T12:25:10Z")

</div>

hey, im back with another as3 question 🙂

i’ve been setting up a high score table in my game, and everything is working, but i cant work out how to get variables from the URLLoader.data that im retrieving

if i trace loadedScores.data, i get this  
&name1=matt&score1=323250&name2=1234567890123456… and so on

i’ve tried passing it to a URLVariables constructor, but it says the string doesnt contain the correct name/variable pairs or something, and loadedScores.data.name1 doesnt work…

thanks for your help, cant work this one out for the life of me  
cheers
