i have a small flash website. each page is 10 frames apart on the timeline. the menu buttons(movieclips) are on a "global" layer spanning across the entire document. when i use the following code (placed on a global layer) for each instance of the movieclip it moves to the right frame but the movieclip animation does not play (basically the button does not spin):
ABOUT.onPress = function() {
gotoAndStop(10);
}
SERVICES.onPress = function() {
gotoAndStop(20);
}
NEWS.onPress = function() {
gotoAndStop(30);
}
CONTACT.onPress = function() {
gotoAndStop(40);
}
when i try to use (onMouseDown), the movieclip animation plays but it does not move to the correct frame... it moves to frame 10 no matter which movieclip you press and then its stuck there...
here's a snapshot of my flash gui to get a better idea of my project:
ABOUT.onPress = function() {
gotoAndStop(10);
}
SERVICES.onPress = function() {
gotoAndStop(20);
}
NEWS.onPress = function() {
gotoAndStop(30);
}
CONTACT.onPress = function() {
gotoAndStop(40);
}
when i try to use (onMouseDown), the movieclip animation plays but it does not move to the correct frame... it moves to frame 10 no matter which movieclip you press and then its stuck there...
here's a snapshot of my flash gui to get a better idea of my project: