# Syntax question

**URL:** <https://forum.kirupa.com/t/syntax-question/296348>\
**Category:** Uncategorized\
**Created:** [September 14, 2009, 3:06am UTC](https://forum.kirupa.com/t/syntax-question/296348 "2009-09-14T03:06:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexWD](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@AlexWD](https://forum.kirupa.com/u/AlexWD)\
**Post date:** [September 14, 2009, 3:06am UTC](https://forum.kirupa.com/t/syntax-question/296348/1 "2009-09-14T03:06:52Z")

</div>

Is it possible to just create a .AS file and define constants inside of that file? Without making a new class, just so that all my classes can access these constants? This is of course possible in PHP, but are the scopes handled differently in AS3?
