# Weird MovieClipLoader thing

**URL:** <https://forum.kirupa.com/t/weird-moviecliploader-thing/231963>\
**Category:** flash\
**Created:** [July 10, 2007, 1:21am UTC](https://forum.kirupa.com/t/weird-moviecliploader-thing/231963 "2007-07-10T01:21:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theSchtickler](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)\
**Post date:** [July 10, 2007, 1:21am UTC](https://forum.kirupa.com/t/weird-moviecliploader-thing/231963/1 "2007-07-10T01:21:24Z")

</div>

Hi there,

So I’m trying to write better script for when I have to roll over to AS3, but it’s sometimes more trouble than its worth… This is especially the case with the MovieClipLoader…

So I declare the MCL like this:  
[AS]var myMCL:MovieClipLoader = new MovieClipLoader()[/AS]  
This works ok, until I try to use this:  
[AS]myMCL.onLoadComplete = function()[/AS]  
Which tells me that I can’t use onLoadComplete… BUT, if when I declare my MCL, I do it the sloppy way like this:  
[AS]myMCL = new MovieClipLoader();[/AS]  
It works fine?!

Can anyone enlighten me to why this happens?
