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

CS6 iconbutton issue

$
0
0
var w = new Window ("palette");
var f = File ("~/Desktop/Script tests/Icons/folder.png");
var a = File ("~/Desktop/Script tests/Icons/accept.png");
var button = w.add ("iconbutton", undefined,ScriptUI.newImage  ( f,undefined, a, undefined), {style:'toolbutton', toggle:true});
w.show ();

 

The following code doesn`t work propely in CS6.

Icon button doesn`t switch to accept.png. There is always folder.png icon.

CC and CC2014 versions works fine.

Does anyone have the same issue?


Viewing all articles
Browse latest Browse all 2143

Trending Articles



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