# Stobe effect and playing multiple clips

**URL:** <https://forum.kirupa.com/t/stobe-effect-and-playing-multiple-clips/96045>\
**Category:** Uncategorized\
**Created:** [December 4, 2003, 8:10am UTC](https://forum.kirupa.com/t/stobe-effect-and-playing-multiple-clips/96045 "2003-12-04T08:10:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luthan](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@luthan](https://forum.kirupa.com/u/luthan)\
**Post date:** [December 4, 2003, 8:10am UTC](https://forum.kirupa.com/t/stobe-effect-and-playing-multiple-clips/96045/1 "2003-12-04T08:10:40Z")

</div>

i just started learning to work with actionscript so im not that good

i have 5 movieclips on the bottom on the site im trying to make  
i want them to blink in order first clip to th eother.  
so when the first one is done blinking i want the other one to do so, and so on untill they are all done

this is the code i got for strobe like effect, but im not sure how to use it with multiple clips so they dont all do that effect at the same time

the code iis

```auto

cir.step = 0;
cir.seconds = 1;
cir.framespersecond = 30;
cir.f = 0;
cir.strobe = [0, 100, 10, 30];
cir.onEnterFrame = function() {
        this._alpha = this.strobe[this.step];
        this.step += 1;
        this.f += 1;
        if (this.step == this.strobe.length) this.step = 0;
        if (this.f == this.framespersecond*this.seconds) {
               
                delete this.onEnterFrame;
        }
};

```

thanks for the help
