Using a movieclip as a button?

Hey, I have searched everywhere for how to do this and couldnt find anything i need to create a new movieclip in the actionscript and then be able to click the new movieclip so it rotates ? any help, thanks 8)

Below is what i already have as my code, shape1 is the movieclip i am duplicating and square 1 is the new movieclip but i cant seem to get it to work when i click it :confused:


duplicateMovieClip(shape1, square1, 1);
setProperty(square1, _x, 200);


square1.onPress = function()
{
    setProperty(square1, _rotation, 90);

}