You're getting that error because "$parent" (when creating an object) refers to the name of the object's immediate parent. In the case of the level text on the target frame, that parent isn't "TargetFrame" -- there's another frame in between:
http://www.townlong-yak.com/framexml...tFrame.xml#184