# Variable access from inside a movieclip

**URL:** <https://forum.kirupa.com/t/variable-access-from-inside-a-movieclip/282734>\
**Category:** Uncategorized\
**Created:** [February 25, 2009, 8:01pm UTC](https://forum.kirupa.com/t/variable-access-from-inside-a-movieclip/282734 "2009-02-25T20:01:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lillo\_\_hotmail](https://avatars.discourse-cdn.com/v4/letter/l/ad7895/32.png) [@lillo\_\_hotmail](https://forum.kirupa.com/u/lillo__hotmail)\
**Post date:** [February 25, 2009, 8:01pm UTC](https://forum.kirupa.com/t/variable-access-from-inside-a-movieclip/282734/1 "2009-02-25T20:01:07Z")

</div>

In as2 it was possible to access variables created on the \_root level from inside a movieclip.  
Like: \_root.myVar =newVar.

How do I accomplish the same in as3.

Thanks!
