i'm doing a menu that plays MC's.
when you hit the home button, it should do two things:
1) determine if home_mc's current frame is 1, if so, send to frame 2.
2) if other mc's are on frame 5, send them to frame 15.
i've been using the following code, but for some reason it's not working on my current project, so i guess i should find a solution using IF, ELSE IF.
///home button
on (release) {
frame = (_root.home_mc._currentframe == 1) ? 2 : 4;
_root.home_mc.gotoAndplay(frame);
frame = (_root.co_mc._currentframe == 1) ? 19 : 15;
_root.co_mc.gotoAndplay(frame);
}
any help greatly appreciated





Bookmarks