# Event.EVENT vs. "event"

**URL:** <https://forum.kirupa.com/t/event-event-vs-event/211103>\
**Category:** flash\
**Created:** [December 27, 2006, 10:33am UTC](https://forum.kirupa.com/t/event-event-vs-event/211103 "2006-12-27T10:33:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bodyvisual](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bodyvisual/32/564_2.png) [@bodyvisual](https://forum.kirupa.com/u/bodyvisual)\
**Post date:** [December 27, 2006, 10:33am UTC](https://forum.kirupa.com/t/event-event-vs-event/211103/1 "2006-12-27T10:33:15Z")

</div>

so i’ve just started messing around with as3, and am wondering what the pros/cons of these two methods are.

for example,  
ActionScript Code:  
[FONT=Courier New][LEFT][COLOR=#0000FF]stage[/COLOR].[COLOR=#0000FF]align[/COLOR] = [COLOR=#FF0000]“tl”[/COLOR];  
[/LEFT]  
[/FONT]

vs  
ActionScript Code:  
[FONT=Courier New][LEFT][COLOR=#0000FF]import[/COLOR] flash.[COLOR=#000080]display[/COLOR].[COLOR=#000080]StageAlign[/COLOR];  
…  
[COLOR=#0000FF]stage[/COLOR].[COLOR=#0000FF]align[/COLOR] = StageAlign.[COLOR=#000080]TOP\_LEFT[/COLOR];  
[/LEFT]  
[/FONT]

or  
ActionScript Code:  
[FONT=Courier New][LEFT][COLOR=#0000FF]stage[/COLOR].[COLOR=#000080]addEventListener[/COLOR][COLOR=#000000]([/COLOR]Event.[COLOR=#000080]RESIZE[/COLOR], stage\_resize[COLOR=#000000])[/COLOR];  
[COLOR=#808080]_// vs_[/COLOR]  
[COLOR=#0000FF]stage[/COLOR].[COLOR=#000080]addEventListener[/COLOR][COLOR=#000000]([/COLOR][COLOR=#FF0000]“resize”[/COLOR], stage\_resize[COLOR=#000000])[/COLOR];  
[/LEFT]  
[/FONT]

know what i mean?
