Copy link to clipboard
Copied
Don't focus on the title, because I didn' t know how to word it in one title.
I just made a command that switches what the first frame of a symbol is, but I want it to make a keyframe when I do so. (okay so I know I said don't reply on my last post because I"figured" it out, turns out I didn't.)
Copy link to clipboard
Copied
Just like last time, it isn't something urgent, but it is an inconvienience to have to make a keyframe then use the command when I could just use the command with an insert keyframe thing in it or something.
Copy link to clipboard
Copied
Use Next Frame In Symbol / Prev Frame In Symbol with the Ctrl modifier..
Copy link to clipboard
Copied
Thanks, but is there a way for me to implement a way to convert the frame that I am on into a keyframe into my command? I don't feel like having to download a full kit of tools.
Copy link to clipboard
Copied
You can find the JS API documentation here:
https://github.com/AdobeDocs/developers-animatesdk-docs/blob/master/index.md
Copy link to clipboard
Copied
Im so close to getting it, I just need one more bit of help.
When I try and put both "timeline.insertKeyframe()" and "fl.getDocumentDOM().selection[0].firstFrame = 1;" into the same code it gives me that the fl.getDocumentDOM(); and the line is undefined.
Copy link to clipboard
Copied
of course I figure it out merely 10 seconds after I post that reply. It always happens!
Copy link to clipboard
Copied
for others, the default keyboard shortcut is f6, but can be changed to suit.