# Mc.\_name property is readonly?

**URL:** <https://forum.kirupa.com/t/mc--name-property-is-readonly/124776>\
**Category:** Uncategorized\
**Created:** [October 6, 2004, 5:25pm UTC](https://forum.kirupa.com/t/mc--name-property-is-readonly/124776 "2004-10-06T17:25:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordkiller](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@lordkiller](https://forum.kirupa.com/u/lordkiller)\
**Post date:** [October 6, 2004, 5:25pm UTC](https://forum.kirupa.com/t/mc--name-property-is-readonly/124776/1 "2004-10-06T17:25:10Z")

</div>

In fact: I duplicate an mc in rows and columns, and want to change their location (\_x,\_y),  
my problem is: I want to change also their name

mc1\_mc move to mc2\_mc.\_x and viceversa  
firstName = mc1\_mc.\_name;  
secondName = mc2\_mc.\_name;  
// renameing  
mc1\_mc.\_name = secondName;  
mc2\_mc.\_name = firstName;  
// but this part is not working

In flash 6 exist the setName function, or is a readonly property?
