I'm pretty new to using jsfl but here is what I'm trying to accomplish. I cycle through the components on the current timeline, look at some parameters and depending on their value change some other parameters. Everything works except for parameters with enumerations. I can see the array of enumerated options, but I can't figure out how to determine which option is currently selected.
So for example I have a component with the following inspectable tag:
ActionScript Code:
[Inspectable (name="sortOrder", enumeration="left to right,top to bottom", defaultValue="left to right")]
So when I get to the parameter with a name of "sortOrder" the "value" of that parameter is an array of 2 objects (one for each enumeration). Each object has a "value" property that represents the string value of that enumeration, but again I don't know which one is selected.
I'm guessing that there is some flag on the selected enumeration object, but I don't know what it's called. Any help would be appreciated.
Thanks in advance,
--carriker