# loadVars to create array

**URL:** <https://forum.kirupa.com/t/loadvars-to-create-array/39738>\
**Category:** flash\
**Created:** [January 10, 2004, 3:44pm UTC](https://forum.kirupa.com/t/loadvars-to-create-array/39738 "2004-01-10T15:44:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![whitearrayan](https://avatars.discourse-cdn.com/v4/letter/w/85e7bf/32.png) [@whitearrayan](https://forum.kirupa.com/u/whitearrayan)\
**Post date:** [January 10, 2004, 3:44pm UTC](https://forum.kirupa.com/t/loadvars-to-create-array/39738/1 "2004-01-10T15:44:10Z")

</div>

I’m rather new at ActionScript and have just discovered --and begun to use-- the LoadVars method.  
So far I’m able to load simple data ( like “name”, “address” …) or to create an array of simple items.  
I wonder how I can load external data to create an array of multiple choice questions, each of which consisting of [“text of question”,[“choice1”, “choice2”, …], correctChoice]. The questions show one at a time. Something like what I did here:

[http://roble.cnice.mecd.es/~eperez/HTML/EnglishLiterature.htm](http://roble.cnice.mecd.es/~eperez/HTML/EnglishLiterature.htm)

I’d rather not use XML if possible, as I don’t understand it v well yet.

Any help will be very welcome.  
Thanks
