# Custom events best practice?

**URL:** <https://forum.kirupa.com/t/custom-events-best-practice/307246>\
**Category:** flash\
**Created:** [March 31, 2010, 9:53am UTC](https://forum.kirupa.com/t/custom-events-best-practice/307246 "2010-03-31T09:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![psych](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/psych/32/2839_2.png) [@psych](https://forum.kirupa.com/u/psych)\
**Post date:** [March 31, 2010, 9:53am UTC](https://forum.kirupa.com/t/custom-events-best-practice/307246/1 "2010-03-31T09:53:58Z")

</div>

Hi everyone,

I have a question regarding custom events best practice. If i have a single object that can dispatch two or more custom events is it better to have  
a single custom event class with those event in it or to separate every custom event to its own class? How do you handle situation like this? I am asking this because even if those two or more events are similar and are attached to same object they could have different parameters i want to pass to them so it could be a bit confusing if i use one custom event class and pass those parameters all the time.

Cheers
