# Use LoadVars to get array into Flash

**URL:** <https://forum.kirupa.com/t/use-loadvars-to-get-array-into-flash/104112>\
**Category:** Uncategorized\
**Created:** [March 12, 2004, 3:30pm UTC](https://forum.kirupa.com/t/use-loadvars-to-get-array-into-flash/104112 "2004-03-12T15:30:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flashmatazz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/flashmatazz/32/140_2.png) [@Flashmatazz](https://forum.kirupa.com/u/Flashmatazz)\
**Post date:** [March 12, 2004, 3:30pm UTC](https://forum.kirupa.com/t/use-loadvars-to-get-array-into-flash/104112/1 "2004-03-12T15:30:45Z")

</div>

I’m trying to use a LoadVars object to load in an array from a php script that reads the filenames of all jpg files in a certain directory.

Would this be possible, or would I have to pass all filenames as one string and split it within Flash afterwards?
