# Variable referencing (should be easy)

**URL:** <https://forum.kirupa.com/t/variable-referencing-should-be-easy/40925>\
**Category:** flash\
**Created:** [January 23, 2004, 3:37pm UTC](https://forum.kirupa.com/t/variable-referencing-should-be-easy/40925 "2004-01-23T15:37:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beanboy](https://avatars.discourse-cdn.com/v4/letter/b/91b2a8/32.png) [@beanboy](https://forum.kirupa.com/u/beanboy)\
**Post date:** [January 23, 2004, 3:37pm UTC](https://forum.kirupa.com/t/variable-referencing-should-be-easy/40925/1 "2004-01-23T15:37:52Z")

</div>

Hi,

This is easy but I am having issues.

I have two movieclips, Movieclip1 and Movieclip2.

Movieclip2 has a variable called variable2.

How can I reference variable2 that is in movieclip2 from movieclip1

I thought it would be \_root.movieclip2(variable2)

but I am apparently wrong, How do u do it?
