В библиотеке или в мувике?
Если мувик, то римерно так:

Код AS3:
private function findTF(value:DisplayObjectContainer, string:String):void
{
var i:int = 0;
var max:int = value.numChildren;
var child:DisplayObject;
var ind:int = 0;
while (i<max)
{
child = value.getChildAt(i);
if (child is StaticText)
{
ind = (child as StaticText).text.indexOf(string);
if (ind != -1)
{
trace (ind);
}
}
if (child is TextField)
{
ind = (child as TextField).text.indexOf(string);
if (ind != -1)
{
trace (ind);
}
}
if (child is DisplayObjectContainer)
{
findTF(value as DisplayObjectContainer,string);
}
i++;
}
}