# AS3 \_global equivalent

**URL:** <https://forum.kirupa.com/t/as3--global-equivalent/256375>\
**Category:** flash\
**Created:** [April 2, 2008, 4:11pm UTC](https://forum.kirupa.com/t/as3--global-equivalent/256375 "2008-04-02T16:11:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stuluk28](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/stuluk28/32/2775_2.png) [@stuluk28](https://forum.kirupa.com/u/stuluk28)\
**Post date:** [April 2, 2008, 4:11pm UTC](https://forum.kirupa.com/t/as3--global-equivalent/256375/1 "2008-04-02T16:11:05Z")

</div>

Hey all,

I’m working on a AS3 Debug class, now although I’ve had some problems (helped in a previous kirupa post) my big concern is how to make the Debug class globally accessible?

In AS2 we had a Debug class which we call the static trace() method in and it declares itself as a \_global variable but it seems the \_global declaration is depriciated in AS3?

Does anyone know of a better way or alternative way to achieve this? so I can reference the Debug class from any other class or scope in an application.
