jsfl question - getting layers in a movieclip
Hi, could anybody tell me, how to get the layers IN a movieclip with jsfl ?
in this example i am getting the layer called "SH3", that has to be on the main timeline.
if (fl.getDocumentDOM().getTimeline().findLayerIndex("SH3") != undefined) {
document.selectNone();
var layerIndex = fl.getDocumentDOM().getTimeline().findLayerIndex("SH3");
fl.getDocumentDOM().getTimeline().setSelectedLayers(layerIndex[0], true);
fl.getDocumentDOM().getTimeline().setLayerProperty('locked', false);
}
But how should i do that if the layer is IN A MOVIECLIP-symbol? ( called keyart) , so NOT on the main timeline
Thank you!
