I`m trying to figure out why this code doesn`t display in AE CC 13.2 ( but in works fine in lower versions ).
I`ve tried several variants but none of them worked properly.
{ function scriptUIPanel(thisObj){ var myWin = (thisObj instanceof Panel) ? thisObj : new Window("palette", "myWin", undefined); var myTab=myWin.add("tabbedpanel",undefined,"My Tab Panel"); myTab.alignment = "fill"; var tabCont1=myTab.add("tab",undefined,"Tab 1"); var tabCont2=myTab.add("tab",undefined,"Tab 2"); return myWin; myWin.center(); } scriptUIPanel(this) }