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