I am setting this function in my compositionready and I want to call it from different places. That works fine but I also want to run myFunction() when the program launches. So I have this: (and it is not working) what am I doing wrong?
sym.getComposition().getStage().myFunction();
sym.myFunction = function()
{
alert("function called")
}