nomeclip.onEnterFrame = function(){
if(this._currentframe == this._totalframes){
// è all'ultimo frame...
}
}