Skip to main content
Participant
July 25, 2018
Answered

Deselecting Frames with "Step Forward/Backward One Frame"

  • July 25, 2018
  • 3 replies
  • 1586 views

Hi is there any way in the Adobe Flashes to have frame stepping deselect the highlighted frame? I use Flash 8 and using , and . hotkeys deselects the frame making it more convenient to insert new frames.

Example:
Imgur

Thank you for any input you can give me

- Jomm

This topic has been closed for replies.
Correct answer JoãoCésar17023019

Hi.

These are custom JSFL scripts that you can assign to shortcuts and use them to navigate in the main timeline while deselecting frames at the same time.

Navigate and deselect frames JSFL scripts download:

animate_cc_jsfl_change_frames_and_deselect.zip - Google Drive

Code (for reference only):

Deselect Previous Keyframe JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     var frame = timeline.layers[timeline.currentLayer].frames[Math.max(timeline.currentFrame - 1, 0)];

     if (frame)

     {

          timeline.currentFrame -= timeline.currentFrame - frame.startFrame;

          timeline.setSelectedFrames([]);

     }

}

Deselect Previous Frame JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     timeline.currentFrame--;

     timeline.setSelectedFrames([]);

}

Deselect Next Keyframe JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     var frame = timeline.layers[timeline.currentLayer].frames[timeline.currentFrame];

     if (frame)

     {

          timeline.currentFrame += frame.duration - (timeline.currentFrame - frame.startFrame);

          timeline.setSelectedFrames([]);

     }

}

Deselect Next Frame JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     timeline.currentFrame++;

     timeline.setSelectedFrames([]);

}

I hope this helps.

Regards,

JC

3 replies

JoãoCésar17023019
Community Expert
JoãoCésar17023019Community ExpertCorrect answer
Community Expert
July 26, 2018

Hi.

These are custom JSFL scripts that you can assign to shortcuts and use them to navigate in the main timeline while deselecting frames at the same time.

Navigate and deselect frames JSFL scripts download:

animate_cc_jsfl_change_frames_and_deselect.zip - Google Drive

Code (for reference only):

Deselect Previous Keyframe JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     var frame = timeline.layers[timeline.currentLayer].frames[Math.max(timeline.currentFrame - 1, 0)];

     if (frame)

     {

          timeline.currentFrame -= timeline.currentFrame - frame.startFrame;

          timeline.setSelectedFrames([]);

     }

}

Deselect Previous Frame JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     timeline.currentFrame--;

     timeline.setSelectedFrames([]);

}

Deselect Next Keyframe JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     var frame = timeline.layers[timeline.currentLayer].frames[timeline.currentFrame];

     if (frame)

     {

          timeline.currentFrame += frame.duration - (timeline.currentFrame - frame.startFrame);

          timeline.setSelectedFrames([]);

     }

}

Deselect Next Frame JSFL script:

var doc = fl.getDocumentDOM();

if (doc)

{

     var timeline = doc.getTimeline();

     timeline.currentFrame++;

     timeline.setSelectedFrames([]);

}

I hope this helps.

Regards,

JC

JommishAuthor
Participant
July 26, 2018

Hey this is really helpful,

I do notice a couple issues with it, I cannot hold down the command and have it scroll through the timeline, and again using the command during playback will not stop it where it like normal frame stepping does. However it is still a great alternative for now! Thanks again.

JommishAuthor
Participant
July 25, 2018

I sent in the form, hopefully it is reviewed and considered, thank you Ankush!

ankushr40215001
Inspiring
July 25, 2018

Hi Jomm,

Unfortunately I didn't find any way to fulfill your request even in the newest version of Animate CC.

However I see it as a great  suggestion and suspect why it didn't in our minds at the first place.

I would appreciate if you fill up this form - Adobe Animate CC Feature Request/Bug Report Form.

It will help us in tasking and prioritizing the feature request. 

Thanks!

Ankush