Problem calling a Function

I created a few function and am trying to call them whit the on(release) handler of a button inside a movieClip.

Here is the function code on the main scene, first frame:

[SIZE=1][COLOR=Blue]
function resetPlatform(){
trace(“resetPlatform has been called”);
alreadyUsed=[];
usedLetters="";
UserInput.type=“input”;
myMovieClip1.gotoAndStop(1);
}
[/Size][/Color]

I placed myMovieClip1 from the library using attachMovie, and inside this movie clip i placed a button with the following code attached to it:
[SIZE=1][COLOR=Blue]
on(release){
resetPlatform();
}
[/SIZE][/COLOR]
The fucntion is never called properly i think its a level problem and the way am calling it that is wrong.

I need help guys!

Thanks