_targetInstanceName and nested items

Posted by Esseti 
_targetInstanceName and nested items
October 11, 2009 12:54PM
How do I set a _targetInstanceName if my target is nested inside several levels of MC's and my code is in the root? And why this property takes String values instead of an Object?
Re: _targetInstanceName and nested items
October 12, 2009 08:28AM
You can use "target" property instead of "targetInstanceName" to set a target which is placed on a different level. Lets say you have a movieClip called "targetClip" which is placed inside to another movieClip which is called "parentClip". Bellow is the code you will have to write to apply flasheff on the "targetClip":

flashEffInsatnceName.target = parentClip.targetClip
Sorry, you do not have permission to post/reply in this forum.