Using TransitionManager with a MC stored as a var?

I’m new at AS 3, but I’d think this should be possible.

Can I make TransitionManager apply to a movie clip stored as a var object?

For instance, when I have

TransitionManager.start(myMovieClip, {type:Zoom, direction:Transition.IN, duration:1, easing:Bounce.easeOut});

can “myMovieClip” be a var, and if so how do I accomplish this?

I’ve tried:

var myMovieClip:Object = event.target;

to no avail, so I’m stumped.

Basically I want to be able to click on a movie clip and have a transition happen. But I want it to be scalable to several movie clips, so I call a function and the same transition happens no matter what the movie clip name is.

Thanks in advance to anyone who can help!
:slight_smile: