Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

telltarget() issue

Status
Not open for further replies.

bubu

Programmer
Mar 3, 2002
463
RO
Hello guys!

What is the difference between these codes:

tellTarget("_root.instancename01.instancename02")
{
gotoAndStop(4);
}

------------------------------------- AND

_root.instancename01.instancename02.gotoAndStop(4);




Regards,
Dragos.


 
Basically the same thing, although tellTarget is officially deprecated, and the use of dot syntax encouraged.

In some cases, tellTarget (can still be used) is notably faster than dot syntax.

Regards,

cubalibre2.gif
 
Thanks a lot Oldnewbie...usefull as allways :)



Regards,
Dragos.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top