This is my code and it gives me an error!
var frame0 = Document.Animation.GetFrame(0);
Unable to get property 'GetFrame' of undefined or null reference