# Flash 5 loadVariables into Array

**URL:** https://forum.kirupa.com/t/flash-5-loadvariables-into-array/14525
**Category:** flash
**Created:** [February 27, 2003, 11:54am UTC](https://forum.kirupa.com/t/flash-5-loadvariables-into-array/14525 "2003-02-27T11:54:51Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dravos](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Dravos](https://forum.kirupa.com/u/Dravos)
#### Post date: [February 27, 2003, 11:54am UTC](https://forum.kirupa.com/t/flash-5-loadvariables-into-array/14525/1 "2003-02-27T11:54:51Z")

</div>

im using loadVariables to get variables from an asp page

the return string is fine but i cant access variables

so my array is call module  
and my return string is module[1]=blah&module[2]=blah

in my debugger it shows module  
and the shows module[1] and module[2] as 2 seperate objects from the array  
and i cant access the values from module[1] and module[2] even if i rename the to module1 and module2

Help!!!

Thanks

Dravos

---

<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: [February 27, 2003, 12:47pm UTC](https://forum.kirupa.com/t/flash-5-loadvariables-into-array/14525/2 "2003-02-27T12:47:18Z")

</div>

ok i have looked at another thread and XML has been suggested so i have this:

```php

myXML = new XML();
myXML.onLoad = function()
{
	trace("----------");
	trace(myXML);
	trace("----------");
}

```

this displays

```php

----------
module1=a&module2=b
----------

```

but where i try  
PHP]  
myXML = new XML();  
myXML.onLoad = function()  
{  
trace("----------");  
trace(this.module1);  
trace("----------");  
}

```auto

nothing comes up between the lines

can anyone help?
```
