I need to have a standard named MC, to have a standard name, so that I can target the type (MC / TechField) When within an MC holder, but at the same time, I would like this unique name of my random number so that I can know that I should target correctly.
exp: objectMC.name = "object" ObjectMC.name2 = "3480945"
Firstly I think using a combination of names and numbers as the name "object_3480945" But it was difficult to target the object when I needed it
Anyway what is there to work around this?
will give you the name of the class of any object. You should check that before going ahead of the route you are going through.
She said, because is a movie clip , you can assign new objects to your objects at runtime as needed.
mc.typeName = 'object'; // Use typeName property to get its type. Mc.name = '3480 9 45'; GetChildByName for //
Comments
Post a Comment