JSFL script crashes when running timeline methods after breakApart
Hi all,
I have condensed this example to the following issue. As part of one of my jsfl scripts I am trying to break apart a text object in a scene and then add some keyframes, etc., but I can't seem to execute any of the Timeline methods after running the .breakApart(), including just selecting frames.
See the following example (run on a simple scene with text object selected) - if I leave out the last line it runs normally, but with the last line included, the application just terminates with no error message.
Same applies for inserting frames, or anything else I've tried to the timeline.
var tl = an.getDocumentDOM().getTimeline();
tl.insertFrames(100);
tl.setSelectedFrames(0, 1, true); //have to do all this timeline stuff BEFORE breakApart - why??
an.getDocumentDOM().breakApart();
tl.setSelectedFrames(0, 1, true);Any ideas? Am running the latest version of Animate (24.0). Many thanks.
