[as3]if.. | not working animation

Ive got this simple code:


import flash.events.MouseEvent;

var myImageMovie:ImageMovie = new ImageMovie();
myImageMovie.x = 20;
myImageMovie.y = 20;

var myImageMovie2:a2 = new a2();
myImageMovie2.x = 20;
myImageMovie2.y = 20;

var myImageMovie3:a3 = new a3();
myImageMovie3.x = 20;
myImageMovie3.y = 20;

ab.buttonMode = true;
ab2.buttonMode = true;
ab3.buttonMode = true;
ab.addEventListener (MouseEvent.CLICK,open);
ab2.addEventListener(MouseEvent.CLICK,open);
ab3.addEventListener(MouseEvent.CLICK,open);

function open ($event:MouseEvent) {
    if(this.contains(myImageMovie)) {
        this.removeChild(myImageMovie);
    }
    if(this.contains(myImageMovie2)) {
        this.removeChild(myImageMovie2);
    }
    if(this.contains(myImageMovie3)) {
        this.removeChild(myImageMovie3);
    }
    if ($event.target == ab) addChild(myImageMovie);
    if ($event.target == ab2) addChild(myImageMovie2);
    if ($event.target == ab3) addChild(myImageMovie3);
    //
}

in library ive got ImageMovie,a2 and a3 mc’s. on stage buttons ab,ab2,ab3. Ive got only ONE question - why added mc’s from library are only ‘putted’ on stage;if in it is some animation it didn’t pass. MCs appeard on stage and its all… why?