# SWFObject array

**URL:** <https://forum.kirupa.com/t/swfobject-array/200356>\
**Category:** flash\
**Created:** [September 11, 2006, 5:05pm UTC](https://forum.kirupa.com/t/swfobject-array/200356 "2006-09-11T17:05:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amanuo](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@amanuo](https://forum.kirupa.com/u/amanuo)\
**Post date:** [September 11, 2006, 5:05pm UTC](https://forum.kirupa.com/t/swfobject-array/200356/1 "2006-09-11T17:05:18Z")

</div>

I’m using SWFObject and i’m wondering if it’s possible to give the swf an array from the html page?

the way to give it a variable is:  
so.addVariable(“var1”, “data1”);

So logically the way to make an array would be:  
so.addVariable(“data\_array[0]”, “data1”);

But this doesn’t work. Is it possible, and how?
