Animation evemt when click the start button ( before laoding level)

Hi im making the menu gui i have almost all done but i have made an animaiton in 3d max that i knwo i can put in a plane in unity so the plane will be at the center of screen , so my question is this …HOw i can script my gui text button so when i hit the start button will trigger the animation and then load level? keep in mynd that i want the animation first frame liek be showing in the background and as i click strat the animation will continue and the load level , i have this scrippt that gives me time after i clik start so in that time i wnat to put the animation here is the script of my start button

var levelToLoad : String;
var normalTexture : Texture2D;
var rollOverTexture : Texture2D;
var beep : AudioClip;

function OnMouseEnter(){
guiTexture.texture = rollOverTexture;
}

function OnMouseExit(){
guiTexture.texture = normalTexture;
}

function OnMouseUp(){
audio.PlayOneShot(beep);
yield new WaitForSeconds(2.5);
Application.LoadLevel(levelToLoad);
}

@script RequireComponent(AudioSource)

Please help me with this because i wnat a very good and cool start game menu i appreciatte any help or suggestion.
and if you knwo what i have to do with the script please write down and think oviously that i have the plane with the animaiton ready.

Your code looks OK and it is perfectly all right to make OnMouseUp a coroutine. The only thing that seems to be missing is a call to animation.Play to set things running. If there is only one animation on the object, you can just do this:-

function OnMouseUp(){
audio.PlayOneShot(beep);
animation.Play();
yield new WaitForSeconds(2.5);
Application.LoadLevel(levelToLoad);
}

Otherwise, you need to pass a string parameter to Play to specify which animation you want:-

animation.Play("NextLevelAnim");  // ...or whatever it's called