Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

ScriptUI button active blue marker

$
0
0

Hi

 

I'm making a ScriptUI panel. I have a icon button which is based on an png image I load:

 

var button = container.add("iconbutton",undefined, imagePath, {"style":"toolbutton"});

 

The image isn't a perfect square, so it contains transparent pixels. Problem is, when I click the button it gets the focus, and all that is transparent will be AE-blue until it looses focus again.

 

Is there a way to avoid this? I tried using the "active" property, but that didn't seem to do much.

If I just could control the focus on the button...

 

Any help is greatly appreciated,

Jakob


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>