# Main timeline var in movieclip

**URL:** <https://forum.kirupa.com/t/main-timeline-var-in-movieclip/272368>\
**Category:** Uncategorized\
**Created:** [October 4, 2008, 2:52pm UTC](https://forum.kirupa.com/t/main-timeline-var-in-movieclip/272368 "2008-10-04T14:52:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Grimes](https://avatars.discourse-cdn.com/v4/letter/f/b38774/32.png) [@Frank\_Grimes](https://forum.kirupa.com/u/Frank_Grimes)\
**Post date:** [October 4, 2008, 2:52pm UTC](https://forum.kirupa.com/t/main-timeline-var-in-movieclip/272368/1 "2008-10-04T14:52:06Z")

</div>

Hi–

I’m setting a variable on the first frame of my main timeline and need to read that value from the first frame of a timeline inside a movieClip. How do I do this?

trace(this.parent.vid);

```auto
trace(this.parent.vid);

```

doesn’t work!

Help!!

Thank you!

:grimey

```auto
trace(this.parent.vid);

```
