ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Disappearing ScriptUI elements in docked panel problem

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
joshua faget
Disappearing ScriptUI elements in docked panel problem
on Sep 14, 2016 at 6:29:22 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



Return to posts index

Jay Brown
Re: Disappearing ScriptUI elements in docked panel problem
on Oct 25, 2017 at 3:12:40 am

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


Return to posts index

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