ok I’m making a two player punching game on flash 5.
when one guy hits another guy that guy should get his face all bloody…
the code that detects the presence of that guy’s fist works.
the only problem I have is telling my target’s face to change his frame soo his face will be all messed up…
I used the code:
TellTarget (target1)
gotoAndPlay nextframe
it worked but the face changes and goes to the first frame again of that movieclip. It refuses to make that target change frames!
my player is a Movie Clip which has tons of motion…the face movieclip itself is set with motion inside the player.
I tried add the same code over the motion frame but it dosen’t work. The name of the face is right.
I tried everything like other codes like:
with(target1)
gotoAndPlay nextframe
I think the problem is that the computer dosen’t recongnize the name of the face after several frames soo it switched the face back to the first frame.
Im not really sure but try
gotoandstop instead.
Ok, let’s check this out 
[AS]TellTarget (target1)
gotoAndPlay nextframe[/AS]
Alrighty. First thing is first. tellTarget is now deprecated and has been replaced by the MUCH easier dot syntax. Second this is… uhh… second… nextFrame() it a command on it’s own, so you don’t need gotoAndPlay() there, if you were going to use gotoAndPlay it would look a little something like this… [AS]gotoAndPlay(this._currentframe+1)[/AS] Which really wouldn’t make sense because you could always just use play() instead of that.
So ok, we determined no tellTarget and no gotoAndPlay, that would finally leave us to change… [AS]TellTarget (target1)
gotoAndPlay nextframe[/AS] into… [AS]target1.nextFrame()[/AS]
I hope that helps 
LIB, that will work in Flash 5?
Yep. Flash 5 started the generation of dot syntax.
funny, when i started flash 5 i had no idea of AS 
I never used Flash 5… well except I did a basic tween in it before :beam: , but that is it.