# Help with "sweeping bar effect"

**URL:** <https://forum.kirupa.com/t/help-with-sweeping-bar-effect/252955>\
**Category:** Uncategorized\
**Created:** [February 25, 2008, 9:05pm UTC](https://forum.kirupa.com/t/help-with-sweeping-bar-effect/252955 "2008-02-25T21:05:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![diegocami](https://avatars.discourse-cdn.com/v4/letter/d/3bc359/32.png) [@diegocami](https://forum.kirupa.com/u/diegocami)\
**Post date:** [February 25, 2008, 9:05pm UTC](https://forum.kirupa.com/t/help-with-sweeping-bar-effect/252955/1 "2008-02-25T21:05:11Z")

</div>

Hi everyone!, I need some directions on how to get my “sweeping bar effect” to work, I´ll try to explain myself:

**Situation:**  
I have a couple of buttons that should attach (that´s the method I´m using)different movieclips (one each) to an empty “mc\_container” on stage.  
There is an attached movieclip by default (let´s call it “mc\_1”) .  
So when the user clicks on the “button\_2” for example, there´s a bar that “sweeps” over (or covers progressively, I don´t know the exact words) “mc\_1” and “uncover” “mc\_2”.

**Problem/s:**  
[COLOR=red]I cant´find the way to tell flash to attach the next movieclip at the exact moment in which the present movieclip is covered completely by this “sweeping bar” (which has a “big black patch” in charge of covering the movieclip on stage) before this bar starts going backwards and uncover the movieclip)…  
I don´t know if I made myself clear…☹ Well, in anycase I´m posting the .FLA.[/COLOR]

ANY SUGGESTIONS ?

Thanks a lot in advance.  
Diegocami.
