# CPU heavy alpha shift

**URL:** <https://forum.kirupa.com/t/cpu-heavy-alpha-shift/201528>\
**Category:** flash\
**Created:** [September 22, 2006, 4:28am UTC](https://forum.kirupa.com/t/cpu-heavy-alpha-shift/201528 "2006-09-22T04:28:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbie\_geek](https://avatars.discourse-cdn.com/v4/letter/n/d9b06d/32.png) [@newbie\_geek](https://forum.kirupa.com/u/newbie_geek)\
**Post date:** [September 22, 2006, 4:28am UTC](https://forum.kirupa.com/t/cpu-heavy-alpha-shift/201528/1 "2006-09-22T04:28:48Z")

</div>

So i am building a site for a client, and in it i have incorporated an automatically cross-fading background made of large photos.

Wheneve they cross fade programatically my CPU gets WORKED!

I am using

```auto
 if (this.photo1.imageholder1._alpha<100-this.fadeSpeed) {
			this.photo1.imageholder1._alpha += this.fadeSpeed;
		}

```

as the fading command. Is it just a characteristic of flash that it HATES to do ALPHA changes? Or is there a slicker way to do it?
