# Help needed : 2 animations in the same MC

**URL:** https://forum.kirupa.com/t/help-needed-2-animations-in-the-same-mc/166315
**Category:** Uncategorized
**Created:** [October 18, 2005, 9:29pm UTC](https://forum.kirupa.com/t/help-needed-2-animations-in-the-same-mc/166315 "2005-10-18T21:29:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SpirituZ](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SpirituZ](https://forum.kirupa.com/u/SpirituZ)
#### Post date: [October 18, 2005, 9:29pm UTC](https://forum.kirupa.com/t/help-needed-2-animations-in-the-same-mc/166315/1 "2005-10-18T21:29:12Z")

</div>

Hey everyone … as u can see i am new in here \>\<… and i got a few problems with my .fla… i am trying to make 2 animations for example …

animation one … then close this animation and run the 2nd animation

the 1st animation is like some intro for example  
the 2nd animation is basically the random movement of the movie clip

the problem that i have is when it load, it loads everything alright but after that the movie clip start deleting and appearing and i want them to stay moving without deleting and appearing

here is my code

```auto
onClipEvent(load) {

	a = this._x;
	b = this._y;
}
onClipEvent (enterFrame) {
	
	this._x = a+(2+Math.random()*3);
	this._y = b+(2+Math.random()*3);
	if (check_1 != 0) {
		move();
	}

}

```

sorry for my english though
