# Alpha fade using actionspirt

**URL:** <https://forum.kirupa.com/t/alpha-fade-using-actionspirt/97631>\
**Category:** Uncategorized\
**Created:** [December 26, 2003, 11:12am UTC](https://forum.kirupa.com/t/alpha-fade-using-actionspirt/97631 "2003-12-26T11:12:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamer](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@dreamer](https://forum.kirupa.com/u/dreamer)\
**Post date:** [December 26, 2003, 11:12am UTC](https://forum.kirupa.com/t/alpha-fade-using-actionspirt/97631/1 "2003-12-26T11:12:51Z")

</div>

I am using this code:

on (release) {  
unloadMovie(“content”);  
}  
}  
on (release) {  
loadMovie(“linkbank/linkpool/art.swf”, “content”);  
}

However, when it unloads its not smooth, its sudden. How do you made the current object loaded in “content” fade alpha and then once it reach 0 load the next clip? Keeping in mind that i want it all in a scirpt form that i can easy add to a button.

thanks! love ya
