I have one movie clip ‘MAIN_MC’ which contains another movie clip ‘SUB_MC’ which have the same AS but differernt speeds to move, but they move in union with eachother as if they are grouped!
CODE on each clip being:
ClipEvent (load) {
//this sets the initial x position of our clip
this._x = 500;
}
onClipEvent (enterFrame) {
//this moves our clip 5 pixels to the right every frame until it reaches a certain point
if (this._x>10) {
this._x += -20;
}
}
What am I doing wrong?