What is the proper way to run a JavaScript patch a single time when my composition starts up, and make its output (a large array) available to other patches?
The most obvious way to do this seemed to be to create a JavaScript patch that outputs a constant array (i.e., one that doesn't change over time) and simply tie its output to the input(s) of the other patch (another JavaScript) that needs the pre-calculated array (and whose outputs change over time.) This seemed to work fine (with the array being calculated exactly once) until I closed and re-opened my composition-- upon re-opening, the patch that uses the table seems to not be getting valid data, resulting in no motion in my composition. However, when I make even the tiniest edit to the actual JavaScript code of the patch that uses the table, suddenly things start working. So I presume I'm not doing my hookups correctly.
Thanks,
Robert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden