So, I created a falling animation. I copied the motion as AS3. I pasted it in the area I want my character to fall.
But when I run my codes, i got an error saying I’m accessing undefined property “fall”
Here’s my motion codes.
var fall_animator:Animator = new Animator(fall_xml, fall);
fall_animator.play();
How do I solve it so that I can put this code in my game ? I also do not know how or where I can create XML file.
Thanks.