# Making a movie appear after a certain task is made

**URL:** <https://forum.kirupa.com/t/making-a-movie-appear-after-a-certain-task-is-made/167825>\
**Category:** flash\
**Created:** [November 1, 2005, 12:51pm UTC](https://forum.kirupa.com/t/making-a-movie-appear-after-a-certain-task-is-made/167825 "2005-11-01T12:51:49Z")\
**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:51pm UTC](https://forum.kirupa.com/t/making-a-movie-appear-after-a-certain-task-is-made/167825/1 "2005-11-01T12:51:49Z")

</div>

hi all i have a pbs with loading move and making it appear after a certain task is made.

Hope your people here can advise me how to make it works.

I have a redball and a whiteball, i trying to make whiteball appear after redball vanished.

redball actionscript

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

whiteball actionscript

onClipEvent(load){  
this.attachMovie(“whiteball”,“whiteball”,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 ball.fla file incase you don’t understand what i am trying to do.

thxs for reading
