I'm attempting to improve my (LT) Clip Control module and am once again getting lost on the code side of things.
My module is layer contextual and displays a bunch of info and controls for the current selected clip.
Right now when you select another layer, the thumbnails and meta info change with no problems but other buttons don't recall their settings. Can I force (on layer change) to refresh modul8.getValue and then set the buttons states based on the results?
An example - Say if I have a layer running at 50% (0.12) speed but I then change the speed in the main panel to 100% (0.25) this doesn't get updated on my modules speed dial.
Ideally I would like it when select a new layer, the module rereads the ctrl_layer_movie_speedFactor value and then sets the dials value accordingly.
So my question is, with contextual layer modules, is there 'on new layer select' part where I can stick the necessary, read this value, insert in this object' code?
Is this what PererocicalEvent is for?
So many questions, so few answers.