# Is there a function that works for every movieclip whatever instancename the moviecl

**URL:** <https://forum.kirupa.com/t/is-there-a-function-that-works-for-every-movieclip-whatever-instancename-the-moviecl/213620>\
**Category:** Uncategorized\
**Created:** [January 21, 2007, 7:27pm UTC](https://forum.kirupa.com/t/is-there-a-function-that-works-for-every-movieclip-whatever-instancename-the-moviecl/213620 "2007-01-21T19:27:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ditti](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@ditti](https://forum.kirupa.com/u/ditti)\
**Post date:** [January 21, 2007, 7:27pm UTC](https://forum.kirupa.com/t/is-there-a-function-that-works-for-every-movieclip-whatever-instancename-the-moviecl/213620/1 "2007-01-21T19:27:04Z")

</div>

Hi!  
I want a function that makes every movieclip on the scene that´s beeing released to do what´s in the actonscript.  
My function doesn´t woork, is there a function that works for every movieclip on the scene whatever instancename the movieclip has ?

```auto
 
movieClip.onRelease = function() {
this._alpha=50;
trace(YEAS);
}

```
