How do I store ExtendScript objects in associative array?
var assArray = {};
for (i=1; i<=app.project.items.length; i++) {
//alert(app.project.item(i).name); one of them is "_vegs"
assArray[app.project.item(i).name] = app.project.item(i);
}
alert(assArray["_vegs"].name);
This code returns error at the second alert line.
Unable to execute script at line 9. undefined is not an object.
What am I missing here?