Thanks for this, I've kinda got it working insomuch as that I can make it trigger my function using the following line in myCallback:
hypeDocument.functions().initVideo(hypeDocument, element, event);
However my function initVideo() no longer returns the inner elements of my symbol when I call:
So now I can no longer target my class elements within using:
I am presuming that his has something to do with not knowing what scene my element is in (although there is only one), but I now can't seem to find a way of targeting the elements correctly.
All works correctly if I load my function initVideo() on the first frame of my timeline.