gotoAndStop error

Hello,

I am curious if anyone has found a solution for this very problematic bug…

I have a timeline of labels, with keyframes on each label. The content of each movieClip on the label has an instance name (region_x), AND a custom class name (random_x) with a base class of the standard MovieClip class.

All my code is doing is gotoAndStop(label), and it produces this error:

TypeError: Error #1034: Type Coercion failed: cannot convert [email protected] to random_5.

    at flash.display::MovieClip/gotoAndStop()
    at com.kidriot.avatar::Creator/stopAllParts()[C:\kidriot	okiworld_libs\lib\com\kidriot\avatar\Creator.as:428]
    at com.kidriot.avatar::Creator/tempTokiEnter()[C:\kidriot	okiworld_libs\lib\com\kidriot\avatar\Creator.as:208]

if I take off the instance names, no error.

If I do not give them a custom class name, no error.

…however neither of those solutions are viable in my case. I need these MC’s to have an instance name AND a custom class name, without this error when using gotoAndStop()… any ideas?