Tell target in mx? im stumped

How is tell target performed in mx? I tried the method i’ve always used:

on (rollOver) {
tellTarget ("/rollover") {
gotoAndPlay (“1text”);
}
}
on (rollOut) {
tellTarget ("/rollover") {
gotoAndPlay (“1back”);
}
}
but it doesnt want to work :confused: any help is greatly appreciated.
-vibe

on (rollOver) {
_root.mC.gotoAndPlay(frame);
}

mC = your movie clip instance name
frame = frame number or label.

I hope this helps:)

You might want to check out my 101 tutorials for a little explination on this subject.

http://www.centerspin.com/tutorial/

Hey david, its a confusing open directory, could you maybe specify where it is for vibe? :slight_smile:

You’re right… sorry bout that. It’s located here.

http://www.centerspin.com/tutorial/level1/101page1.htm

I am also currently working on the 201 tuts which will go into more detail in how we direct commands in Flash 5.0 + including addressing dynamic clip names, arrays, and a little on XML nodes. I should have that done by the end of the week end. (though all of my new tuts are done in XML to Flash so that one you’ll have to see at animation.centerspin.com rather than in my tutorial folders.

tellTarget has been deprecated, you’d better not use it.

pom :asian:

Yeah, I was told that they got rid of tell target in MX, that is why I sent the code…

on (rollOver) {
_root.mC.gotoAndPlay(frame);
}

because that is what I was told to do instead (by someone on this board, I believe it was Montoya, who is now a mod!).