# Editing an mc inside a dynamically added MovieClip

**URL:** <https://forum.kirupa.com/t/editing-an-mc-inside-a-dynamically-added-movieclip/303147>\
**Category:** Uncategorized\
**Created:** [January 14, 2010, 9:13pm UTC](https://forum.kirupa.com/t/editing-an-mc-inside-a-dynamically-added-movieclip/303147 "2010-01-14T21:13:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VoS](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VoS](https://forum.kirupa.com/u/VoS)\
**Post date:** [January 14, 2010, 9:13pm UTC](https://forum.kirupa.com/t/editing-an-mc-inside-a-dynamically-added-movieclip/303147/1 "2010-01-14T21:13:26Z")

</div>

Hey.

Im adding a mc from the library using.

```auto

            menuInGame = new inGameMenu();
            menuInGame.x = 700 ;
            menuInGame.y = 0 ;
            addChild(menuInGame);
            
            // this line dosent work
            menuInGame.barHP.height = 0.5;

```

Im trying to switch the height of an mc that is inside an object ive dynamically loaded from the library

the mc has the name barHP.

How do i access it, or must i add this dynamically as well?

Thanks
