# Make a movie appear after a task have finished

**URL:** <https://forum.kirupa.com/t/make-a-movie-appear-after-a-task-have-finished/167823>\
**Category:** Uncategorized\
**Created:** [November 1, 2005, 12:44pm UTC](https://forum.kirupa.com/t/make-a-movie-appear-after-a-task-have-finished/167823 "2005-11-01T12:44:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kitaeshi](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@kitaeshi](https://forum.kirupa.com/u/kitaeshi)\
**Post date:** [November 1, 2005, 12:44pm UTC](https://forum.kirupa.com/t/make-a-movie-appear-after-a-task-have-finished/167823/1 "2005-11-01T12:44:56Z")

</div>

Hi all,  
i have a pbs with loading movieclip, maybe i lack of some more script to make it more workable. hope your people here can advise me or help me.

i have two movie clip,  
one is redball  
another is whiteball.

i have code it tat when onclipevent red ball will slowly vanished.

onClipEvent(load){  
value=10;  
}  
onClipEvent(enterFrame){  
this.\_alpha -= value;  
}

after its vanished, the white ball will be loaded and appear after the red ball disappear.

onClipEvent(load){  
this.attachMovie(“whiteball”,“whiteballe”,1);  
this.whiteball.\_alpha = 0;  
}  
onClipEvent(enterFrame){  
if(redball.alpha == 0){  
this.whiteball.\_alpha = 100;  
}else{  
this.whiteball.\_alpha = 0;  
}  
}

I have also attached the fla file incase your all don’t understand what i’m to say.

thxs ya
