onClip Events

Can someone please explain to me why evrytime i use an onEnterFrame or similar function, i get told i have a syntax error and it must appear within an onclipevent handler???

isnt onEnterFrame an onclipevent handler in itself??

Statement must appear within on/onClipEvent handler
onEnterFrame = function(){

its ok… you can tell me if you think im dumb.