PDA

View Full Version : tell target


jupiter759
06-26-2003, 05:44 AM
Hi there,

I've got a MC with a button from which I want to send the user to a different frame in the main scene. To me, the code below would be the most obvious thing to do, yet it doesnt work. does anybody know what to do? thanks.


on (release) {
tellTarget ("/root") {
gotoAndStop ("main");
}
}

tg
06-26-2003, 05:46 AM
make it either '_root' or '/', but flash wont understand '/root'


but you might want to get rid of the f4 syntax all together and just do:
_root.gotoAndStop("main");

jupiter759
06-26-2003, 05:48 AM
I actually tried that way before but forgot about the _ before root

thanks a lot

Muttu20
06-26-2003, 01:54 PM
Y not use with instead of a tellTarget?

unless u not using MX!