Hi, i have a newbee problem when changing the color from attached clips.
I create a mc on the root level from the library by attachMovie (box1).
box1 creates a second mc from the library by attachMovie (box2).
On the root level I have a button who change the color of both mcs by new Color / setRGB.
But box2 will have the same color than box1, regardless which color I set to box2.
Button-AS (FLA is attached):
this.onPress = function () {
// set box1 to green
(new Color(_root.my_box_dyn1)).setRGB(0x00FF00);
// set box2 to red
(new Color(_root._root.my_box_dyn1.my_box_dyn2)).setRGB(0xFF0000);
}
Whats wrong?