Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Create a checkbox within a function, then access it later?

  • Create a checkbox within a function, then access it later?

    Posted by Mitch Mann on December 6, 2012 at 3:21 pm

    If you create a checkbox inside of a function, can you access it later outside the function? For example, to make the checkbox true at some point later in the script:

    function makeTheCheckBox() { theCheckbox = w.add (“checkbox”,[0,0,100,30],”Checkbox Text”); }

    makeTheCheckBox();

    w.theCheckBox.value = true;

    Mitch Mann replied 13 years, 5 months 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