# onClip handler nonsence

**URL:** <https://forum.kirupa.com/t/onclip-handler-nonsence/198413>\
**Category:** flash\
**Created:** [August 24, 2006, 8:23pm UTC](https://forum.kirupa.com/t/onclip-handler-nonsence/198413 "2006-08-24T20:23:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![11\_11](https://avatars.discourse-cdn.com/v4/letter/1/b38774/32.png) [@11\_11](https://forum.kirupa.com/u/11_11)\
**Post date:** [August 24, 2006, 8:23pm UTC](https://forum.kirupa.com/t/onclip-handler-nonsence/198413/1 "2006-08-24T20:23:04Z")

</div>

Hi,

I’m trying to load an external jpg with the following code attached to an empty movie clip with an instance name of imageLoader1.

_loadMovie(“001.jpg”, imageLoader1);_

I just want it to load as soon as the movie starts running. Not when you press a button but I keep getting:

_ **Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Statement must appear within on/onClipEvent handler  
loadMovie(“001.jpg”, imageLoader1);_

Can someone please tell me where I’m going wrong? I’ve spent ages reading tutorials and I can’t get it right. It’s driving me bonkers.

Thanks in advance
