# Fading using script

**URL:** <https://forum.kirupa.com/t/fading-using-script/32217>\
**Category:** flash\
**Created:** [October 3, 2003, 5:45am UTC](https://forum.kirupa.com/t/fading-using-script/32217 "2003-10-03T05:45:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phat7](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@Phat7](https://forum.kirupa.com/u/Phat7)\
**Post date:** [October 3, 2003, 5:45am UTC](https://forum.kirupa.com/t/fading-using-script/32217/1 "2003-10-03T05:45:07Z")

</div>

What’s wrong with this code?:

[COLOR=blue]on (release) {  
for (a=0; a=100; a) {  
symbol.\_alpha = a;  
a += 10;  
}  
}[/COLOR]

It causes my computer to slow down and then asks to abort the script because it may kill my computer. All I want to do is to fade a symbol
