How do I access variable in movieclip?
In AnimateCC I've added a clip called myClip and in it I place this code:
var myVar= true;
In te main timeline I want to access that variable so there I use this:
console.log(this.myClip.myVar);
But this keeps showing 'undefined'.
How can I read a variable from within a movieclip then?
The source file can be downloaded at: