Copy link to clipboard
Copied
Jump to top 1 keyframes
Jump to the back 1 keyframes
How to Write.("Alt +," and "Alt +.")
Make a SWF extension panel
Using the SWF call JSFL how to invoke the.
I use "Mmexecute" to perform simple JSFL commands.
But how to invoke a JSFL file that is already done
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hello, I have saved this, but I can't find the command to jump keyframes, nor do they appear in the history record.
Examples of "mmexecute" have but not written how to invoke the Jsfl file.
Copy link to clipboard
Copied
use the layer's frames array and compare to the frame's startFrame to find keyframes. there's an example in layers.frames in that pdf.
use commands>run command from animate to execute jsfl on the current fla.
Copy link to clipboard
Copied
I'm making the expansion panel.Do not depend on menu running.
Now I've made 3 buttons.
Put in"C:\Users\myname\AppData\Local\Adobe\Animate CC 2018\zh_CN\Configuration\WindowSWF"
But other command-JSFL files, SwF calls outside of the JSFL this is encountering a problem
I see an example of a key frame, but not running
Copy link to clipboard
Copied
KeyFrames actually can I try again later
The main idea at the moment is to use "Mmexecute" to execute the completed JSFL file.
Copy link to clipboard
Copied
you're missing a frame index. eg,
MMExecute("fl.getDocumentDOM().getTimeline().insertKeyframe(2);");
Copy link to clipboard
Copied
No, this is a replacement for F7.
This screenshot just shows that there is no problem with doing so.
What I need is to call the external JSFL
Like I make a keyframe.JSFL
"keyframe.JSFL "In the same folder as the SWF(\WindowSWF)
So how do I run this JSFL?
MMExecute(keyframe.JSFL)?
It must be wrong to write this.
Copy link to clipboard
Copied
Hi.
Try this:
MMExecute('fl.runScript( fl.configURI + "/WindowSWF/your_script.jsfl");');
Regards,
JC
Copy link to clipboard
Copied
Thank you so much.
When looking at the example,
MMExecute(Path,Method)
Results, how to write do not know
You really helped me a lot.
Thanks again.
Copy link to clipboard
Copied
You're welcome!
And I hope you come up with cool addons for Animate.
Copy link to clipboard
Copied
Thank you for your encouragement.
I'll study hard.
Copy link to clipboard
Copied
How do you debug JSFL files?
Copy link to clipboard
Copied
My ideas are too complicated.
Actually, it's simple.
In the forum to find other people's posts, to achieve the key frame of the jump.
ar theDocument = flash.getDocumentDOM();
var theTimeline = theDocument.getTimeline();
var l = theTimeline.currentLayer;
var c = theTimeline.currentFrame;
var f = theTimeline.layers
theTimeline.currentFrame = f;
theTimeline.setSelectedFrames(f,f+1,true);