Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Disappearing ScriptUI elements in docked panel problem

  • Disappearing ScriptUI elements in docked panel problem

    Posted by Joshua Faget on September 14, 2016 at 6:29 pm

    Hello,

    Im facing the following issue. I wrote a script where you input a #HEX color and it pops a little square with that color… you can add a whole bunch of them.

    The problem is that when I open the “Color Picker” or “Make a New Comp” window is open… all of the colored squares disappear until that window is closed.

    Here is a before and after opening the “New Comp” menu…

    Are there any solutions so that the colored box doesn’t disappear?

    //how the button is created

    brn.onClick
    var box1 = PalGroup.add("group", [0,0,30,30] , 'Box' + suffix.toString()); //Adding a box
    var graphic = PalGroup.graphics; //PalGroup is the group where all the boxes pop in...
    var Brush1 = graphic.newBrush(graphic.BrushType.SOLID_COLOR, hexToRgb); //creating the brush
    box1.graphics.backgroundColor = Brush1; //assigning the brush to the Box

    Jay Brown replied 8 years, 6 months ago 2 Members · 1 Reply
  • 1 Reply
  • Jay Brown

    October 25, 2017 at 3:12 am

    Did you have any luck figuring this out?? Running into the same problem

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