# Need serious help in coding animation regarding XML

**URL:** https://forum.kirupa.com/t/need-serious-help-in-coding-animation-regarding-xml/276474
**Category:** flash
**Created:** [November 28, 2008, 5:22am UTC](https://forum.kirupa.com/t/need-serious-help-in-coding-animation-regarding-xml/276474 "2008-11-28T05:22:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mebius89](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@mebius89](https://forum.kirupa.com/u/mebius89)
#### Post date: [November 28, 2008, 5:22am UTC](https://forum.kirupa.com/t/need-serious-help-in-coding-animation-regarding-xml/276474/1 "2008-11-28T05:22:47Z")

</div>

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.
