Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Is there a way to import a JSX inside my Undockable Panel GUI?????

  • Is there a way to import a JSX inside my Undockable Panel GUI?????

    Posted by Adrián Wulfrath on April 8, 2016 at 6:59 pm

    I want to call an $.evalFile(myJSXFile); inside my Panel

    {
    function myScript(thisObj){
    function myScript_buildUI(thisObj){
    var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette","Panel Estudfas",undefined,{resizable:true});

    res = "group{orientation:'column',\
    groupOne: Panel{text:'Master', orientation:'column',alignment:['fill','fill'],alignChildren:['fill','fill'],\
    txtBtn: Button{text:'Press'},\
    },\
    }";

    myPanel.grp = myPanel.add(res);

    var Btn = myPanel.grp.groupOne.txtBtn

    //END PANEL --------------------------- NO PONER NADA ABAJO DE ESTA LÍNEA -------------------------------
    return myPanel;

    }

    var myScriptPal = myScript_buildUI(thisObj);

    if((myScriptPal != null) && (myScriptPal instanceof Window)){
    myScriptPal.center();
    myScriptPal.show();
    }

    }

    myScript(this);
    }

    Adrián Wulfrath replied 10 years, 1 month ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy