Problem with 3 functions button > on (rollOver) on (rollOut) on (rollOut)

on (rollOver) {
tellTarget ("_root.maitre_reception") {
gotoAndPlay (300);
}
}
on (rollOut) {
tellTarget ("_root.maitre_reception") {
gotoAndPlay (1);
}
}
on (rollOut) {
tellTarget ("_root.maitre_reception") {
gotoAndPlay (320);
}
}

. … … … … … … … . … … … … … … …

A Button assigned with action above is used to control movie
clip , maitre_reception , when mouse is rolled over and rolled out ;

that works fine except that has the inconvenient to force me to
maintain the mouse over the button after releasing the click
in order to work - by obvius reasons because if I click and
roll out the mouse cursor it occurs the second condition:

on (rollOut) {
tellTarget ("_root.maitre_reception") {
gotoAndPlay (1);

causing the movie to go and play 1 before movie goes and
play 320 ;

Is there a way to avoid that ?

(to ensure only one click makes it
to play frame 320 even if cursos has been rolled out )

. … … … … … … … . … … … … … … …

You can’t have 2 rollOut functions.

There is

RollOver
RollOut
press
dragOver
dragOut
release
releaseOutside
and the Keypresses.
(I think that is it)

You are only allowed to have 1 instance of a function (unless it is a keypress, as long as you assign a different key… it will work).

By having 2 rollOut functions you are confusing Flash.

Lol … sometimes I use to invent things

Oh yeah… I forgot to mention that you can combine some if they do the same action…

like this…

on (rollOut, dragOut) {
_root.yourClip.gotoAndPlay(frame#);
}