Comparing an Object's type, by only knowing the class name

I am trying to find an object in the display list. All that is known, is the name of the class.

I recursively iterate through every child in the display list to find my object’s instance, and unfortunately everything was instantiated at runtime and was given a generic instance name. This videoplayer has around 300 children(ugh), and through trial and error I found my instance I need to get a hold of, instance60.

Now it would be fine by using just the instance name, but the thought of it being called a different instance name would send this program into insanity.

Thank you in advance,
Rob N.