Button fail

on (rollOut) {
gotoAndPlay (“carfurnbusmcframe245”);
}
on (release) {
tellTarget ("_root.coverupmcfrm5") {
gotoAndPlay (“coverup040”);
}
}

Why fails occur to buttons with code above ??
Understand by fail when you click on the button once and there is no answer , then you have to give it a 2nd d a m n click and
this time works ;
There are 3 buttons with similar code (just changes addressed frame labels but code is the same ) , the fail happens to two of them ; one of the buttons works at the 1st click ;
Cheers

First off, tellTarget went bye byes :beam:, it should look like this…

on (rollOut) {
gotoAndPlay ("carfurnbusmcframe245");
}
on (release) {
_root.coverupmcfrm5.gotoAndPlay("coverup040");
}
}

Also, do you have a stop() action on the frame you have a label on? That might be the problem.

on (rollOut) {
gotoAndPlay (“carfurnbusmcframe245”);
}
on (release) {
_root.coverupmcfrm5.gotoAndPlay(“coverup040”);
}
}

I tried it and it seems to work a bit better , I removed the stop() from coverup040 too ;

the interesting is that I have 3 buttons ; the first one works fine with tell target and besides that there is a stop() on frame label coverup001 ; (I will quit tell target anyway )

Day will come I will understand flash and all the sort of oddities ;

Thank you l.beta

No problem.

Is everything fixed?