# Events

**URL:** <https://forum.kirupa.com/t/events/230108>\
**Category:** Uncategorized\
**Created:** [June 22, 2007, 5:04pm UTC](https://forum.kirupa.com/t/events/230108 "2007-06-22T17:04:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chesso](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@Chesso](https://forum.kirupa.com/u/Chesso)\
**Post date:** [June 22, 2007, 5:04pm UTC](https://forum.kirupa.com/t/events/230108/1 "2007-06-22T17:04:49Z")

</div>

Iv’e done events and things in my new classes just perfectly.

But wth is up with trying to do this in a frame?

I basically want to have some data initialized (before anything else) and uninitialized (after everything else), or rather how I used onLoad and onUnLoad (among others like mouseDown and mouseUp) for the main stage (or the frame I’m working on sort of thing).

Also, why on earth did these morons give us a constructor event without a deconstructor event? Imean fair enough if it is named differently, but why… it makes no sense lol.
