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

Shortcut to escape from a symbol

Explorer ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

I use the Wacom tablet to create animations.

To edit the symbol contents in the last few days, I knocked the symbol twice with the pen, and once I finished editing, I knocked the blank part of the stage twice to go back to the scene again.

I felt like this double click was cumbersome, so I wanted to set shortcuts.

ANccShortcutQuestion01.png

'Edit in place' worked well for me to enter the symbol. it's good.

But I have not found the ability to go back to the parent directory again.

ANccShortcutQuestion02.png

I would be happy if I could assign a shortcut to this button.

However, even if I hover my cursor over that icon, there is no information popup and I can not find out the name.

Please let me know if you know how to assign a shortcut to that function.

Thank you in advance.

Views

968

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

correct answers 1 Correct answer

Guru , Jun 12, 2019 Jun 12, 2019

Hi mate,

You can save this as a JSFL command and assign a shortcut to it:

// Exit Edit Mode

an.getDocumentDOM().exitEditMode();

Hope this helps!

Votes

Translate

Translate
Guru ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

Hi mate,

You can save this as a JSFL command and assign a shortcut to it:

// Exit Edit Mode

an.getDocumentDOM().exitEditMode();

Hope this helps!

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 ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

The power of the code. Excellent for solving problems!

Thank you for writing the script.

This script works very well for my situation.

However, I now need to assign two shortcut keys for 'Edit In Place' and 'Exit Edit Mode.jsfl'. I think the situation can be refined by introducing the toggle paradigm.

I would like to ask you if it is possible with JSFL:

Is it possible to create a function that performs different actions depending on conditions in a single shortcut?

For example, if the mouse cursor is on a symbol, it will enter the symbol when i press the E key. But if the cursor is in the empty space on the stage, it will escape the symbol when i press the same E key .

As far as I know, AC 3.0 has the ability to detect cursor and symbol overlaps. I am curious to know if it is possible with JSFL.

Please tell me your opinion.

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 ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

It should be possible.

To make it function flawlessly however, you will need to implement a few checks.

You will require a selection of a single item. If it is a symbol, then enter.

If no selection and inside symbol - exit. (In my opinion this defeats the purpose of the toggle, because it forces you to always click outside to deselect so you don't escape the extra click.)

BTW, simple functions like this are available in the History panel.

You can save them as commands, similar to Photoshop actions.

Clipboard-1.png

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 ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

Thanks for the feedback.

I'm still a pure artist, but scripting is going to be really fun.

I'll have to get into basic of JavaScript sooner or later for learn JSFL.

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 ,
Jun 12, 2019 Jun 12, 2019

Copy link to clipboard

Copied

LATEST

#MeToo, mate! (Sorry, just couldn't resist). I'm an animator.

The desire to make Flash more suited for character animation got us start EDAP Tools some 10 years ago.

I still remember how excited I felt when I found out you could actually extend Flash and make it do things not available out of the box.

Good luck!

NT

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