# Create 4 MC's which fades in/out and moves

**URL:** <https://forum.kirupa.com/t/create-4-mcs-which-fades-in-out-and-moves/277093>\
**Category:** Uncategorized\
**Created:** [December 7, 2008, 7:05pm UTC](https://forum.kirupa.com/t/create-4-mcs-which-fades-in-out-and-moves/277093 "2008-12-07T19:05:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wampiro\_UHA](https://avatars.discourse-cdn.com/v4/letter/w/eb9ed0/32.png) [@Wampiro\_UHA](https://forum.kirupa.com/u/Wampiro_UHA)\
**Post date:** [December 7, 2008, 7:05pm UTC](https://forum.kirupa.com/t/create-4-mcs-which-fades-in-out-and-moves/277093/1 "2008-12-07T19:05:46Z")

</div>

I’m new to ActionScript 3 and would love to se a code-example for my problem.

I have a stage which is 100 % in height and width according to the browser.

In my library I have a MovieClip which has the identifier “Line”.

I would like to create 4 MovieClips with “Line” with the height 100 %, fade them in and out slowly while moving them either to the left or to the right. And each MovieClip should be placed randomly on the stage. After each fade-out the MovieClip should fade-in again, but again on a randomly place at the stage.
