# Creating methods with the same name but diff arguements?

**URL:** <https://forum.kirupa.com/t/creating-methods-with-the-same-name-but-diff-arguements/272570>\
**Category:** Uncategorized\
**Created:** [October 6, 2008, 5:06pm UTC](https://forum.kirupa.com/t/creating-methods-with-the-same-name-but-diff-arguements/272570 "2008-10-06T17:06:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoink](https://avatars.discourse-cdn.com/v4/letter/z/9d8465/32.png) [@zoink](https://forum.kirupa.com/u/zoink)\
**Post date:** [October 6, 2008, 5:06pm UTC](https://forum.kirupa.com/t/creating-methods-with-the-same-name-but-diff-arguements/272570/1 "2008-10-06T17:06:58Z")

</div>

is there a way to create methods with the same name but with different arguements?

I have a method that listens to Mouse\_DOWN event. So it’s something like

function myFunction(evt:MouseEvent):void  
{  
//myFunction  
}

For example i want to use myFunction even without the Mouse\_DOWN event… how do i do that?
