tellTarget ("/huh?/movieclip")

ok… I just recently learned of the wonderfull property of tellTarget. I have an all flash site that i’m making to learn flash MX 2004. I’m loading external swf’s into a main page to make it all flow and easy for the browser to chew. i got a page that uses tellTarget to start rollovers and advance a movie. here’s the script for one of the buttons…

 on (rollOver) {
 tellTarget ("/swift"){
  gotoAndplay (2);
 }
}
on (rollOut) {
 tellTarget ("/swift"){
  gotoAndplay (1);
 }
}
on (release) {
 tellTarget ("/info") {
  gotoAndStop("swift");
 }
}
 

that works perfectly but when i load it into the main movie… it won’t work…
HELP. I don’t know how to _root.,_parent, or this. is to make it work.

Tell target has been depricated in flash 2004 basically they have a better way of doing it now your code above would look like this assuming info and swift are instance names of objects placed directly on the root layer(part of the main timeline):
on (rollOver) {
_root.swift.gotoAndplay(2);
}
on (rollOut) {
_root.swift.gotoAndplay (1);
}
on (release) {
_root.info.gotoAndStop(“swift”);
}