Hi Jason,
I thought I might be able to see where this was going wrong but when I come to try it it seems to work for me. I've used this code:
package {
public class C1 {
private var x:int;
public function C1(){}
public function test():void {
var i:int = 10;
while(i > 0) {
this.x = i;
i -= 1;
}
}
}
}
If I set a breakpoint on 'i -= 1', the 'this' variable's x value is updated as shown in the Locals Window. Can you post a (small) example where it doesn't get updated?
Thanks,
Dermot