Hey,
Im trying to get my text to change depending on the playhead in another MC. This is my code… someone have a peak at what may be wrong
btn.onPress = function() {
ball.gotoAndPlay("start");
if (_root.ball._currentframe>2) {
_root.txtArea.text = "Hello Ball!";
} else if (_root.ball._currentframe<10) {
_root.txtArea.text = "Goodbye Ball.";
}
};