# Tweenlite in a movie clip called from variable

**URL:** <https://forum.kirupa.com/t/tweenlite-in-a-movie-clip-called-from-variable/303093>\
**Category:** flash\
**Created:** [January 13, 2010, 10:24pm UTC](https://forum.kirupa.com/t/tweenlite-in-a-movie-clip-called-from-variable/303093 "2010-01-13T22:24:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [January 13, 2010, 10:24pm UTC](https://forum.kirupa.com/t/tweenlite-in-a-movie-clip-called-from-variable/303093/1 "2010-01-13T22:24:28Z")

</div>

i’m trying to run a loop, so a sequence of movie clips, one after the other, should “blink” as a wave.

Tried the code below, without success. nothing happens. What could be wrong?

The movie clips are named “menu1” thru “menu11”.

```auto

function ondaMenu (){
for (var i:Number = 1; i < 12; i++) {
 TweenLite.to ("menu"+i,1,{_alpha:35,ease:Quad.easeOut,delay:1+i/10});

}
}
ondaMenu();

```
