# Variable names

**URL:** <https://forum.kirupa.com/t/variable-names/221262>\
**Category:** Uncategorized\
**Created:** [April 2, 2007, 11:42pm UTC](https://forum.kirupa.com/t/variable-names/221262 "2007-04-02T23:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maizoon](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@Maizoon](https://forum.kirupa.com/u/Maizoon)\
**Post date:** [April 2, 2007, 11:42pm UTC](https://forum.kirupa.com/t/variable-names/221262/1 "2007-04-02T23:42:19Z")

</div>

Can anyone tell me why this works:

```auto
my_mc._x = 10; // puts 'my_mc in the right place

```

while this does not

```auto

v = "my_mc";
v._x = 10; // nothing happens

```

and how to fix?
