Help with code
i want one button to do opperate two MC at the same time
the button is made up of a MC which has two frames,
the code i have for them on the on the first frame is
if (backward eq "1") {
tellTarget ("_root.map") {
prevFrame();
}
}
and the other is
if (backward eq "1") {
tellTarget ("_root.boxline") {
prevFrame();
}
}
the button is made up of a MC which has two frames the second frame is
gotoAndPlay(1);
the button itself has this attached
on (press) {
backward = "1";
}
on (release) {
backward = "0";
}
Obviously I have a foward control as well
HaveI got it right?
|