Tweening with Mecanim?

Trying to get a grasp of mecanim, so please bare with me if this is a simple/common request (search didn’t return any hits for tween…).

I have an eyelid model that has a blink animation. This sets the open and closed poses, as well as the transition between them. What I would like to do is set up a parameter to control the current frame that the blink animation is on. For example, I might have the eyelid connected to the player’s health. Is there a way to “tween” across a single animation? This seems different from using a blend tree, which blends between two playing animations.

Should I be using the legacy system instead?

The reason I was hoping to use mecanim is that I wanted to add an additional layer on top of that which “blinks”, but only opens to the current eyelid size. The blink animation ideally be hooked up to a boolean parameter that I can toggle from script.

Actually I would consider this a prime candidate for blend trees. Instead of having one animation showing eyes from open to closed, you have two animations one fully open and one fully closed. The animation only needs to be two frames long and then repeat.

To achieve the additional timed blink effect you can make the “open” animation longer and have the timed blink in there. So it will blend from the timed blink to closed.

That’s what I thought too, but then the blend will be a linear transition between the two states, which is not the way the lid should actually close. Perhaps this is a problem with the way my poses are set up, I am not sure (not the artist)? I did try this, though, and is why I was hoping to transition along the animation itself, rather than just blending between the two poses. Does that make sense?

I figured out a way to do it using the legacy system, but I would like to know if its possible with mecanim, as I am trying to learn how to use it. Any further suggestions are definitely appreciated.