[JS CS5] How to get the selected state of a multi-state object
Does anyone know if there is a way to identify which state of a multi-state object is selected?
You can select individual states of a multi-state object in the States panel.
In the Object Model,
myState = app.selection[0].states.item(0);
myState.active = true;
...displays the first state in the mso. But I can't figure out how to identify which state is currently visible. This doesn't seem to be possible in the object model, unless I'm missing something. Any ideas?
