# Why won't it move?

**URL:** https://forum.kirupa.com/t/why-wont-it-move/233996
**Category:** Uncategorized
**Created:** [July 29, 2007, 10:31am UTC](https://forum.kirupa.com/t/why-wont-it-move/233996 "2007-07-29T10:31:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![iceflyin](https://avatars.discourse-cdn.com/v4/letter/i/9de053/32.png) [@iceflyin](https://forum.kirupa.com/u/iceflyin)
#### Post date: [July 29, 2007, 10:31am UTC](https://forum.kirupa.com/t/why-wont-it-move/233996/1 "2007-07-29T10:31:56Z")

</div>

I have no idea… I removed all the other code to make the issue easy to see.

```auto

//Works, moves the button...
function onResult(result:Object) {
    this.submit.x = 280;
}

 function submitFunct(evt:MouseEvent) {
//Moves the button
this.submit.x = 5000;

                     function onFault(result:Object) {
                      //Does nothing and gives me an error!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                    this.submit.x = 317;
        }
}

```

I tried root… Is it like a private function or something???

Error code:  
1119: Access of possibly undefined property submit through a reference with static type Class.

How can I get around this? I have a bad feeling I’m going to have to re-code EVERYTHING just to get around this…
