FORUMS: list search recent posts

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

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Adrián Wulfrath
Change the in/out point of the work area defined by frames
on Apr 5, 2016 at 5:33:32 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;
}
}


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]