# Referencing something in \_root not working

**URL:** <https://forum.kirupa.com/t/referencing-something-in--root-not-working/243978>\
**Category:** flash\
**Created:** [November 13, 2007, 6:46am UTC](https://forum.kirupa.com/t/referencing-something-in--root-not-working/243978 "2007-11-13T06:46:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [November 13, 2007, 6:46am UTC](https://forum.kirupa.com/t/referencing-something-in--root-not-working/243978/1 "2007-11-13T06:46:17Z")

</div>

I have a class ‘resizingObject’, with a method ‘addFunction()’, which is instantiated in \_root as ‘resizer’ (im certain of this - ive checked in the debug - variables list)

I then have another class, ‘layerObject’, that i want to be able to call the ‘addFunction()’ method - so inside the layerObject i tried \_root.resizer.addFunction(), \_level0.resizer.addFunction() and all manner of other business but to no avail…even an attempt to trace \_root.resizer returns undefined.

why cant i acces the resizer instance of the resizingObject?
