Button TellTarget Rollovers w/ Easing?

Hi,

I’d stumbled across a post that has long been buried here from 2003 where someone asked almost exactly the question I have, and the attached file with the answer no longer appears in the thread :frowning:

I have two things going on that are problematic:

  1. A series of buttons with tell target rollovers, setup like the tutorial here, with one movie containing e.g. “text” and “back” labelled frames for each button, separate layers for each animation.

  2. A large piece of text that is displayed initially in English, then as you rollover a transparent hit area over the text, the text fades into its French translation. When you roll-out, it goes back to English. The setup for this is an MC with a timeline that starts in English on one level for 30 frames fading in, then there is a “cross-fade” with Enlish fading out, and above it on a separate level, French fading in; then finally, French fading back into English. I just have it bracketed with stop(); at the appropriate spots and frames labelled “english” and “french”.

In both instances the problem is the same - roll out and then back over the buttons too quickly and things jump; same with the translated text, though this looks far worse.

How do I solve the issue of making these animations complete before the next animation begins loading? Or is there a more elegant design solution?

The code for the buttons looks exactly like the tutorial:

on (rollOver) {
tellTarget ("/rollover") {
gotoAndPlay(“1text”);
}
}
on (rollOut) {
tellTarget ("/rollover") {
gotoAndPlay(“1back”);
}
}

This is the ActionScript for the transparent hit-area over the txt:

on (rollOver) {
tellTarget ("/_level0.container.mc_about_txt") {
_level0.container.mc_about_txt.gotoAndPlay(“french”);
}
}
on (rollOut) {
tellTarget ("/_level0.container.mc_about_txt") {
_level0.container.mc_about_txt.gotoAndPlay(“english”);
}
}

Thanks for anyone who can help :slight_smile: