# Using TransitionManager with a MC stored as a var?

**URL:** <https://forum.kirupa.com/t/using-transitionmanager-with-a-mc-stored-as-a-var/283893>\
**Category:** flash\
**Created:** [March 12, 2009, 7:25am UTC](https://forum.kirupa.com/t/using-transitionmanager-with-a-mc-stored-as-a-var/283893 "2009-03-12T07:25:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flail](https://avatars.discourse-cdn.com/v4/letter/f/0ea827/32.png) [@flail](https://forum.kirupa.com/u/flail)\
**Post date:** [March 12, 2009, 7:25am UTC](https://forum.kirupa.com/t/using-transitionmanager-with-a-mc-stored-as-a-var/283893/1 "2009-03-12T07:25:57Z")

</div>

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

```auto
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:

```auto
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!  
🙂
