# Variable or method accessible in all the package?

**URL:** <https://forum.kirupa.com/t/variable-or-method-accessible-in-all-the-package/319391>\
**Category:** flash\
**Created:** [February 18, 2011, 5:20pm UTC](https://forum.kirupa.com/t/variable-or-method-accessible-in-all-the-package/319391 "2011-02-18T17:20:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RubenFlash](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@RubenFlash](https://forum.kirupa.com/u/RubenFlash)\
**Post date:** [February 18, 2011, 5:20pm UTC](https://forum.kirupa.com/t/variable-or-method-accessible-in-all-the-package/319391/1 "2011-02-18T17:20:51Z")

</div>

I want to be able to have a variable and/or a method that’s available to all the classes inside a package.  
What would be the best way to achieve that?
