View Full Version : [FMX] Tell Target Command help
RussianBeer
February 17th, 2003, 04:08 AM
Hi there!
I was reading the Tell Target Tutorial, and it said at one point to find the tell target command under the basic function command. I couldn't find it, I tried to just type down the code:
on (release) {
tellTarget ("/cheese") {
gotoAndPlay (1);
}
}
is there a diffrence between FMX action script and F5 actions scrpt? Is that why? Can anyone help how to get through.
pom
February 17th, 2003, 12:06 PM
tellTarget should not be used. You can use the dot syntax instead:
cheese.gotoAndPlay(1); pom :cowboy:
RussianBeer
February 20th, 2003, 11:36 PM
But on the tutorial it says that its more than just a clever Go To And Play thing...
lostinbeta
February 21st, 2003, 12:03 AM
Because it is.... tellTarget can do a lot.... but that is Flash 4 and below syntax.
_root.cheese.gotoAndPlay(frame#)
_root.cheese._alpha = 50
_root.cheese._rotation = 75
_root.cheese._xscale = 50
_root.cheese._yscale = 50
Just very few of the things you can do with the dot syntax much easier than the tellTarget syntax.
RussianBeer
February 21st, 2003, 12:04 AM
Okay Great! I still don't know what the hell it is!
Oh well, any places where It has some good tuts on it?
lostinbeta
February 21st, 2003, 12:51 AM
tellTarget is no longer used, so a tutorial for it would pretty much be useless.
But tellTarget was just a way to target the properties of or control a movie clip so you can dynamically change it with AS. And now you can do that with the new dot syntax as posted above.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.