# \[Inspectable\] Array question

**URL:** <https://forum.kirupa.com/t/inspectable-array-question/313869>\
**Category:** flash\
**Created:** [September 12, 2010, 6:06pm UTC](https://forum.kirupa.com/t/inspectable-array-question/313869 "2010-09-12T18:06:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xbox\_hacker](https://avatars.discourse-cdn.com/v4/letter/x/d07c76/32.png) [@xbox\_hacker](https://forum.kirupa.com/u/xbox_hacker)\
**Post date:** [September 12, 2010, 6:06pm UTC](https://forum.kirupa.com/t/inspectable-array-question/313869/1 "2010-09-12T18:06:28Z")

</div>

I am making a component is AS3, every thing is working great …except for my Array.

I need an Array(or collection?) that has 2 data values. So when you goto the component inspection panel and click the array, the data provider gives you 2 options. Not just the one defaultValue.

Like this:  
[![](http://forum.kirupa.com/uploads/kirupa/6332/74a92539cf4a102e.png)](http://img96.imageshack.us/i/captureina.png/)

I am looking to end up with this as the Array data:

```
trace (myArray) //OUTPUT 

```

[ {path: “search.png”, label: “One”},  
{path: “search.png”, label: “Two”},  
{path: “search.png”, label: “Three”},  
{path: “search.png”, label: “Four”},  
{path: “search.png”, label: “Five”},  
{path: “search.png”, label: “Six”}]

I have searched and searched, but couldn’t find any info on it.

Thank You!!
