then the code should be :
Actor.loadfromfile('file.md3');
Actor.animation.loadfromfile('animation.smd');
?