Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Change the in/out point of the work area defined by frames

  • Change the in/out point of the work area defined by frames

    Posted by Adrián Wulfrath on April 5, 2016 at 5:33 pm

    How can i Change the in/out point of the work area defined by frames????

    Here is my code and i want to change the work area in/out point depending on which of my dropdown case is selected:

    For example for myPanel.grp.groupTwo change the in/out point to 300 frames
    myPanel.grp.groupThree change the in/out point to 100 frames

    //Subpanels: (Cuando mandas a llamar con un nombre de variable a algo específico de tu UI)
    var BtnURL= myPanel.grp.groupOne.myIconButton

    var dropdown = myPanel.grp.groupOne.myDropDownList

    var curCompFrames = curComp.duration/curComp.frameDuration;

    //Add event handler for dropdown:

    dropdown.onChange = function()
    {
    switch(dropdown.selection.text)
    {
    case "Salida No Image":
    alert(curCompFrames);
    myPanel.grp.groupTwo.visible = true;
    myPanel.grp.groupThree.visible = false;
    break;
    case "Salida No Asterix":
    myPanel.grp.groupTwo.myStaticText.visible = false;
    myPanel.grp.groupThree.visible = true;
    break;
    default:
    myPanel.grp.groupTwo.visible = true;
    myPanel.grp.groupThree.visible = false;
    break;
    }
    }

    Adrián Wulfrath replied 10 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy