Skip to main content
chenjil43641795
Brainiac
July 19, 2018
Answered

A few questions about JSFL

  • July 19, 2018
  • 3 replies
  • 2258 views

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

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

    Hi.

    Try this:

    MMExecute('fl.runScript( fl.configURI + "/WindowSWF/your_script.jsfl");');

    Regards,

    JC

    3 replies

    chenjil43641795
    Brainiac
    July 21, 2018

    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.frames.startFrame + theTimeline.layers.frames.duration;

    theTimeline.currentFrame = f;
    theTimeline.setSelectedFrames(f,f+1,true);

    JoãoCésar17023019
    JoãoCésar17023019Correct answer
    Community Expert
    July 20, 2018

    Hi.

    Try this:

    MMExecute('fl.runScript( fl.configURI + "/WindowSWF/your_script.jsfl");');

    Regards,

    JC

    chenjil43641795
    Brainiac
    July 20, 2018

    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.

    JoãoCésar17023019
    Community Expert
    July 20, 2018

    You're welcome!

    And I hope you come up with cool addons for Animate.

    kglad
    Community Expert
    July 19, 2018
    chenjil43641795
    Brainiac
    July 19, 2018

    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.

    kglad
    Community Expert
    July 19, 2018

    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.