RollOver and RollOut Movieclip

Hi guys,

Help me with this problem…
I have a [color=red]button[/color] which on [color=red]ROLLOVER[/color] shows a [color=red]MOVIECLIP[/color] on the stage and on [color=red]ROLLOUT[/color] it should remove it from the stage.
Check out this code which perfectly works as i want

[color=blue]on (rollOver) {
[color=gray]//Movieclip GotoAndPlay Behavior
[/color] this.Teal.gotoAndPlay(“2”);
[color=gray]//End Behavior
[/color]}
on (rollOut) {
removeMovieClip(this.Teal);
[color=gray]//End Behavior
[/color]}
[/color]
[color=black]but my problem is wen i go back to same button after a rollover, the movie clip doesnt show or code does not respond.[/color]
[color=black][/color]
[color=blue][color=black]Where did i go wrong pls tell.[/color][/color]
[color=blue][color=#000000][/color][/color]
[color=blue][color=#000000]Thank You[/color]
[/color]

guess you have attached the mc dynamically at some point, well now you have removed it. Maybe put the attachMovie code in you rollOver.

yeh when u remove a movie clip it is permenantly removed and u have to attach it again. instead, just use this.

onClipEvent (load) {
[color=Black] this.Teal[/color]._visible = false;
}
[color=Black]on (rollOver) {
this.Teal._visible = true;
}
on (rollOut) {
[/color][color=Black] this.Teal._visible = false;[/color][color=Black]
}

this will set it be visible when u rollout and invisible when ur not on it.

[/color]

hey guys thank you for your reply but i got the code and it works absolutely fine…

on (rollOver) {
//Movieclip GotoAndPlay Behavior
this.ActionClip.gotoAndPlay(“1text”);
//End Behavior
}
on (rollOut) {
//Movieclip GotoAndPlay Behavior
this.ActionClip.gotoAndPlay(“1back”);
//End Behavior
}
where actionclip is my movie instance name and 1back is framename in ActionClip movieclip.
Thanks again
LOL