# Use of brackets in class files

**URL:** <https://forum.kirupa.com/t/use-of-brackets-in-class-files/249019>\
**Category:** flash\
**Created:** [January 14, 2008, 6:24pm UTC](https://forum.kirupa.com/t/use-of-brackets-in-class-files/249019 "2008-01-14T18:24:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hobbbz](https://avatars.discourse-cdn.com/v4/letter/h/54ee81/32.png) [@hobbbz](https://forum.kirupa.com/u/hobbbz)\
**Post date:** [January 14, 2008, 6:24pm UTC](https://forum.kirupa.com/t/use-of-brackets-in-class-files/249019/1 "2008-01-14T18:24:20Z")

</div>

I’m working on creating a component of my own and in checking out the .as files for the current component set I see the following definitions after package{ and before class{

[Event(name=“progress”, type=“flash.events.ProgressEvent”)]

Is the use of this syntax documented somewhere? I’ve seen the same thing used when embedding a font from a users system but I can’t find where Adobe describes how to use it. Specifically I’m wanting to use this for styling my component just like the Flash components are styled.
