Ok, basically I have two mc boxes that are aligned to each others bottom edge, When I click one button it grows and I want the box beside it to move while the other box grows in size.
Below is my code, problem I have is the other box doesnt move, it just grows/ scales the same as the clicked box.
Both mc’s are 50 x 50px which is why Ive added the redBox_mc._y+50; so it sits directly below the other box.
Can anyone help? Not sure whats going on as I thought the _xscale method was used to scale things. Here I just want to change the blueBox_mc position based on the growing redBox_mc.
test = function(){
this.onEnterFrame = function(){
blueBox_mc._x = redBox_mc._x;
blueBox_mc._y = redBox_mc._y+50;
}
}
test();