I’m trying to get the frame count of the timeline of a movieclip that is on the frist frame of the main timeline of a .fla file with jsfl.
fl.openDocument(fileURL);
var dom = fl.getDocumentDOM();
var timeline = dom.getTimeline();
//this traces movieclip
fl.trace(timeline.layers[0].frames[0].elements[0].symbolType);
//this traces undefined
fl.trace(timeline.layers[0].frames[0].elements[0].frameCount);
any ideas?
thanks in advance!