# Difference between 'mc.onLoad' and 'onClipEvent(load)'?

**URL:** <https://forum.kirupa.com/t/difference-between-mc-onload-and-onclipevent-load/147420>\
**Category:** Uncategorized\
**Created:** [May 10, 2005, 1:00pm UTC](https://forum.kirupa.com/t/difference-between-mc-onload-and-onclipevent-load/147420 "2005-05-10T13:00:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henxon](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Henxon](https://forum.kirupa.com/u/Henxon)\
**Post date:** [May 10, 2005, 1:00pm UTC](https://forum.kirupa.com/t/difference-between-mc-onload-and-onclipevent-load/147420/1 "2005-05-10T13:00:28Z")

</div>

Hello

I have a movieclip with instance name _linkholder_, in which I have this AS:

```auto

onClipEvent(enterFrame){
}

```

I tried to put this code on a layer outside the movieclip, but it didn’t work the same way. Shouldn’t it?

```auto

_root.linkholder.onEnterFrame = function(){

}

```

regards henxon
