# Unload with alpha transition using as

**URL:** <https://forum.kirupa.com/t/unload-with-alpha-transition-using-as/191738>\
**Category:** Uncategorized\
**Created:** [June 22, 2006, 4:34pm UTC](https://forum.kirupa.com/t/unload-with-alpha-transition-using-as/191738 "2006-06-22T16:34:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gh\_](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gh\_](https://forum.kirupa.com/u/gh_)\
**Post date:** [June 22, 2006, 4:34pm UTC](https://forum.kirupa.com/t/unload-with-alpha-transition-using-as/191738/1 "2006-06-22T16:34:13Z")

</div>

gary\_btn.onRelease = function(){  
imageLoader.content.\_visible = false;  
nailLoader.content.unloadMovie();  
empty\_mc.unloadMovie();

for the either of the following unload lines (or perhaps the above .visable=false)  
is there a way to actionscript so that the movie (swf),  
unloads with a transition from 100 alpha to 0 alpha, (opaque to transparent)  
and therefore create a smooth transition out, as opposed to a rapid disappear?  
perhaps a 1/2 or 2/3 of a second or 15-20 frames at 30 fps?

nailLoader.content.unloadMovie();  
empty\_mc.unloadMovie();

thanks in advance
