• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Command to add keyframe on current layer and current frame

Explorer ,
Aug 17, 2023 Aug 17, 2023

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.)

Views

288

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2023 Aug 17, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

Use Next Frame In Symbol / Prev Frame In Symbol with the Ctrl modifier..

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2023 Aug 17, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

You can find the JS API documentation here:

https://github.com/AdobeDocs/developers-animatesdk-docs/blob/master/index.md

 

Nick - Character Designer and Animator, Flash user since 1998
Member of the Flanimate Power Tools team - extensions for character animation

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2023 Aug 17, 2023

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

of course I figure it out merely 10 seconds after I post that reply. It always happens!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 17, 2023 Aug 17, 2023

Copy link to clipboard

Copied

LATEST

for others,  the default keyboard shortcut is f6, but can be changed to suit.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines