# \_alpha is acting up!?

**URL:** <https://forum.kirupa.com/t/-alpha-is-acting-up/265159>\
**Category:** flash\
**Created:** [July 4, 2008, 11:10pm UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159 "2008-07-04T23:10:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gigaboost](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gigaboost](https://forum.kirupa.com/u/gigaboost)\
**Post date:** [July 4, 2008, 11:10pm UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/1 "2008-07-04T23:10:43Z")

</div>

I have a problem with “rotation” alpha values.

Explanation:

Alpha is 100, I keep adding to it for one reason or another, and suddenly the graphic dissapears (when alpha is several thousand), I keep adding, and it comes back with 100% visibility, keep adding, dissapears, keep adding, comes back. Et cetra.

Why? How can I stop it?

---

<div class="post-metadata">

**Author:** ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Post date:** [July 4, 2008, 11:27pm UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/2 "2008-07-04T23:27:09Z")

</div>

I used to have a reason for this but I forgot it. Just stop adding to it when it’s over 100.

---

<div class="post-metadata">

**Author:** ![gigaboost](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gigaboost](https://forum.kirupa.com/u/gigaboost)\
**Post date:** [July 5, 2008, 1:43am UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/3 "2008-07-05T01:43:26Z")

</div>

> Just stop adding to it when it’s over 100.

That won’t solve anything unfortunatley. I need the alpha to go over 100 for several reasons.

If alpha is 1000 and decreases by 1 per second it will take 1000 seconds for something to become invisible, if alpha is 100 it will take 100 seconds, etc.

---

<div class="post-metadata">

**Author:** ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Post date:** [July 5, 2008, 1:45am UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/4 "2008-07-05T01:45:53Z")

</div>

Use a seperate variable to count.

---

<div class="post-metadata">

**Author:** ![gigaboost](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gigaboost](https://forum.kirupa.com/u/gigaboost)\
**Post date:** [July 5, 2008, 11:00am UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/5 "2008-07-05T11:00:17Z")

</div>

True, although it gets a fair bit more complicated like that.

I just find it odd how flash makes high or low numbers of alpha act up like that. Adding enough alpha per second the objects just starts flickering like hell =(

---

<div class="post-metadata">

**Author:** ![nathan99](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nathan99](https://forum.kirupa.com/u/nathan99)\
**Post date:** [July 5, 2008, 11:55am UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/6 "2008-07-05T11:55:36Z")

</div>

you can only set the alpha to a maximum of 12799, from there it inverts back to the negatives. So when the alpha hits 12800 it will thus become -12800

---

<div class="post-metadata">

**Author:** ![gigaboost](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@gigaboost](https://forum.kirupa.com/u/gigaboost)\
**Post date:** [July 5, 2008, 12:18pm UTC](https://forum.kirupa.com/t/-alpha-is-acting-up/265159/7 "2008-07-05T12:18:23Z")

</div>

> [@nathan99;2353896](#):
>
> you can only set the alpha to a maximum of 12799, from there it inverts back to the negatives. So when the alpha hits 12800 it will thus become -12800

Thanks for clearing that up, appriciated.
