# Movieclip.onRelease = function() without onReleasing

**URL:** <https://forum.kirupa.com/t/movieclip-onrelease-function-without-onreleasing/237337>\
**Category:** Uncategorized\
**Created:** [August 29, 2007, 2:22pm UTC](https://forum.kirupa.com/t/movieclip-onrelease-function-without-onreleasing/237337 "2007-08-29T14:22:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deluxmilkman](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@deluxmilkman](https://forum.kirupa.com/u/deluxmilkman)\
**Post date:** [August 29, 2007, 2:22pm UTC](https://forum.kirupa.com/t/movieclip-onrelease-function-without-onreleasing/237337/1 "2007-08-29T14:22:39Z")

</div>

mc.onRelease = function(){  
//Do something  
}

I have this function on “mc”.  
And I would like to call the function on ''mc" without clicking on “mc”,

How can I create the state where this “mc” is being pressed by script on a frame or another button?
