icon button_invalid image data
var w = new Window ("dialog");
w.orientation = "row";
var f = File ("C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\AMT\LMResources s\ps.ico")
w.add ("iconbutton" , undefined, f ); // a
w.add ("iconbutton" , undefined, f, {style: "toolbutton"}); // b
var t1 = w.add ("iconbutton" , undefined, f, {style: "toolbutton" , toggle: true}); // c
var t2 = w.add ("iconbutton" , undefined, f, {style: "toolbutton" , toggle: true}); // d
t2.value = true;
w.show ();