I have no idea… I removed all the other code to make the issue easy to see.
//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…