Modifying _y value does not work

Hello Everyone,

I’m having the most frustrating problem. I’ve got a simple code that just refuses to work for some reason.

(AS2)

            
for (a = this.ref + 1; a < _root.Boxes.length; a++)
    {
    //Set property does not work                
    setProperty(_root.Boxes[a],_y,this._y+(a*25));

    //And neither does modifying it directly
    _root.Boxes[a]._y = this._y+(a*25);

     //This works, but it's not what I need
    //_root.Boxes[a]._y = this._y;
    }

_root.Boxes is an array which points to objects.
_root.Boxes.length = 52

this. ref is 0

Using trace, I’ve found that a*25 is correct, the objects I’m trying to access are correct, and that the for loop runs, but I can visually see that the elements have not moved a muscle :shifty:. What’s going on here?

Thank you for your help,
-BuG56