-
Change the in/out point of the work area defined by frames
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.myIconButtonvar 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;
}
}
Sorry, there were no replies found.