I'm doing a "for" loop through an array and would like the objects identified in the array values to be re-positioned and change color.
I got the color change figured out, but am having trouble with the re-positioning.
I am using this method
var = "_root."+strObject;
var._x -= 5;
var = "_root."+strObject;
var._y -= 5;
With each loop through the array the value of "strObject" changes
"strObject" identifies different MovieClips placed on the main stage labeled with Instance Names that match the strObject value.
I can't figure out why it is not working. Is there something else I might use, like a "setPosition" method?
Thanks for any help...
-Robert
I got the color change figured out, but am having trouble with the re-positioning.
I am using this method
var = "_root."+strObject;
var._x -= 5;
var = "_root."+strObject;
var._y -= 5;
With each loop through the array the value of "strObject" changes
"strObject" identifies different MovieClips placed on the main stage labeled with Instance Names that match the strObject value.
I can't figure out why it is not working. Is there something else I might use, like a "setPosition" method?
Thanks for any help...
-Robert