Call a function inside a movieclip

Hello. How can I call a function when I want inside a movie clip? Can’t find any one that suits among onClipEvent() since they go off automaticly from some defined actions… I need to call the function at certain times!

This code is inside a movieclip and I want to be able to change temp when I want to!

onClipEvent(load){
var temp;
}

How can I accomplish that?

regards

/henrik