# Calling an onRelease function WITHOUT pressing the mouse button

**URL:** <https://forum.kirupa.com/t/calling-an-onrelease-function-without-pressing-the-mouse-button/101003>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 6:52pm UTC](https://forum.kirupa.com/t/calling-an-onrelease-function-without-pressing-the-mouse-button/101003 "2004-02-04T18:52:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trock](https://avatars.discourse-cdn.com/v4/letter/t/e56c9b/32.png) [@trock](https://forum.kirupa.com/u/trock)\
**Post date:** [February 4, 2004, 6:52pm UTC](https://forum.kirupa.com/t/calling-an-onrelease-function-without-pressing-the-mouse-button/101003/1 "2004-02-04T18:52:08Z")

</div>

Long time reader, first time poster. I love Kirupa… it has been so helpful to me in the past.

Here is my question. Can I call an onRelease function without actually pressing the mouse button?

I have built an onRelease prototype function for one of my movieclips, for use when a user clicks on that movieclip. All of that works fine, BUT I would like to call the first one after the movie loads. Can I just do this:

[AS]subm0\_0.onRelease();[/AS]

I did it in frame 2 of my movie (after the preloader does its thing), but it doesnt seem to be working. “subm0\_0” is the name of the movie clip that has the prototype function. Again, when I click on the movieclip it works.

Thanks in advance!
