Answered
JSFL: How to keep the first keyframe and clear the rest of the keyframes, in selected layer?
Currently making my first script to automate some tasks in Adobe Animate. One of the steps is keeping my selected layers' first keyframe, while clearing out the rest that follow after. How would I go about asking the computer to do this?

Picture "A" is what I'd like to achieve, picture "B" is what I get when I run:
an.getDocumentDOM().getTimeline().clearKeyframes();
How would I break this down further? (super beginner, haha!)
