# MC Disappearing

**URL:** <https://forum.kirupa.com/t/mc-disappearing/175393>\
**Category:** flash\
**Created:** [January 13, 2006, 10:17pm UTC](https://forum.kirupa.com/t/mc-disappearing/175393 "2006-01-13T22:17:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierce\_Bronkite](https://avatars.discourse-cdn.com/v4/letter/p/258eb7/32.png) [@Pierce\_Bronkite](https://forum.kirupa.com/u/Pierce_Bronkite)\
**Post date:** [January 13, 2006, 10:17pm UTC](https://forum.kirupa.com/t/mc-disappearing/175393/1 "2006-01-13T22:17:38Z")

</div>

[SIZE=2]have a simple MC that moves and fades in using the script below but for some reason the movie clip will disappear and replay even though I have a stop function attached.[/SIZE]

[SIZE=2]It will disappear after about a minute or two. I have the movie loop set to false but cant figure out why its “replaying”. Any help is appreciated.[/SIZE] :puzzled:

Here is the actionscript i have attached to the mc.

[SIZE=2][/SIZE]

> [SIZE=2]onClipEvent (load) {  
> \_x = 563.0;  
> \_y = 140.0;  
> speed = 4;  
> \_alpha = 0;  
> fadespeed = 3;

}[/SIZE]

[SIZE=2]onClipEvent (enterFrame) {  
\_alpha += fadespeed;  
endX = 172.0;  
endY = 140.0;  
\_x += (endX-\_x)/speed;  
\_y += (endY-\_y)/speed;  
stop();  
}[/SIZE]

[SIZE=2][/SIZE]
