hi.
You may of seen a similar thread to this somewhere else (its just I added it and now can’t find it so i dicided to make a new one).
I am making a site for a friend of mine, but I encountered a problem. How do you tell a button to go off and play/stop a frame within another mc.I couldn’t work it out!!! I tried this, (if you look at the fla attached it might make more sence), within the first button I put:
“on(press){
this.mc.hello = 1;
}”
and on the second:
“on(press){
this.mc.hello = 2;
}”
and so on. Within the mc I put:
“stop();
if (this.hello == 1) {
gotoAndStop(1);
}
if (this.hello == 2) {
gotoAndStop(2);
}
if (this.hello == 3) {
gotoAndStop(3);
}
if (this.hello == 4) {
gotoAndStop(4);
}
if (this.hello == 5) {
gotoAndStop(5);
}
if (this.hello == 6) {
gotoAndStop(6);
}”
But it didn’t work. (btw the attached fla is not the actual site I am making for my friend, it is just a copy to show you the problem, I didn’t want to put the actual site fla for obvious reasons).
Please help.
Thanks.