# Empty parameter

**URL:** <https://forum.kirupa.com/t/empty-parameter/316039>\
**Category:** flash\
**Created:** [November 11, 2010, 1:42am UTC](https://forum.kirupa.com/t/empty-parameter/316039 "2010-11-11T01:42:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VeddyCent](https://avatars.discourse-cdn.com/v4/letter/v/bc8723/32.png) [@VeddyCent](https://forum.kirupa.com/u/VeddyCent)\
**Post date:** [November 11, 2010, 1:42am UTC](https://forum.kirupa.com/t/empty-parameter/316039/1 "2010-11-11T01:42:33Z")

</div>

Hi everyone,

I have a function that I called from a Mouse click listener, shown below

```auto
btn_stop.addEventListener(MouseEvent.CLICK, stopVid, false, 0, true);

function stopVid(event:MouseEvent):void{
	VidComp.pause();
	VidComp.seek(0);
	showPlay();
	tmrDisplay.stop();
	resetTimes();
}

```

I want to call the stopVid function elsewhere, but I need to pass it a parameter. So this does not work:

```auto
stopVid();

```

So my question is is there an empty parameter I can pass or one that will work?

I’ve tried the following:  
event.Event  
event.Event = null  
null

Any responses will be greatly appreciated.
