Macromedia have changed the syntax a bit through the versions of Flash and I think this is where the “/” bit came from. it would work with or without it.
But that’s irrelevant now. tellTarget, although it still works, is no longer in common usage in 5 and MX.
the statements with the periods such as you mentioned are known as dot syntax and this is how it’s done nowadays.
on (rollOver) {
tellTarget (“rollover”) {
gotoAndPlay (“1text”);
}
}
should be written as:
on (rollOver) {
rollover.gotoAndPlay(“1text”);
}
this is more efficient and is now the standard way.
boy… i’m learning certain methods and growing in knowledge only to find that i need to rework what i’m learning… you guys are trying to make this hard on me aren’t ya?..
so programing with tellTarget won’t work anymore?..
I have asked and suggested a few times that kirupa update that advanced rollOver tutorial to use the dot syntax because tellTarget is Flash 4 and if you are going to learn something you should learn the right and easier way to do it.
Not many people are beginning to learn in Flash 4 nowadays so I don’t see the harm in updating it :sure:
wow…that’s bizarre, I’ve never come across this before.
What’s happening is this, the problem has arisen because the frame labels start with a number. it seems flash is going to and playing frame 1 because the labels start with 1. I tested it by changing the labels to start with 9 etc. and lo and behold it went to frame 9.
It doesn’t really make much sense to me, but that’s what’s happening.
Moral of the story, if you’re using frame labels, don’t start them with a number…