# ActionScript 3.0 migration code for \_root

**URL:** <https://forum.kirupa.com/t/actionscript-3-0-migration-code-for--root/258094>\
**Category:** Uncategorized\
**Created:** [April 20, 2008, 9:29pm UTC](https://forum.kirupa.com/t/actionscript-3-0-migration-code-for--root/258094 "2008-04-20T21:29:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BalajiManoharan](https://avatars.discourse-cdn.com/v4/letter/b/919ad9/32.png) [@BalajiManoharan](https://forum.kirupa.com/u/BalajiManoharan)\
**Post date:** [April 20, 2008, 9:29pm UTC](https://forum.kirupa.com/t/actionscript-3-0-migration-code-for--root/258094/1 "2008-04-20T21:29:14Z")

</div>

Hello Friends  
I am using AS2 and i have some doubts in AS3.  
function zoomer(){  
var x:Number = \_root.xmouse; //storing some value and using that while movie onenterframe.  
}

what is the code in AS3 for that.
