how to move the playhead ONE frame at a time
So I have made this code so i can move the playhead one frame at a time. But it does not seem to be working?? It use to work just fine, not sure what has happened.
var doc = fl.getDocumentDOM();
var t = doc.getTimeline();
var l = t.layers[t.currentLayer];
var play = t.currentFrame;
t.currentFrame = (l.frames[play].startFrame === play && play > 0) ? l.frames[play-1].startFrame : l.frames[play].startFrame;
Im not interested in moving from one SET keyframe to another.
