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.
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!!