# Alpha Text Problem

**URL:** https://forum.kirupa.com/t/alpha-text-problem/57321
**Category:** flash
**Created:** [July 12, 2004, 11:04am UTC](https://forum.kirupa.com/t/alpha-text-problem/57321 "2004-07-12T11:04:17Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![jitendra](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@jitendra](https://forum.kirupa.com/u/jitendra)
#### Post date: [July 12, 2004, 11:04am UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/1 "2004-07-12T11:04:17Z")

</div>

Hi Everybody,  
I’d made one movie clip in that I’m increasing the Alpha of text from 0% To 100% and I’m using the Pixel Font and I’d attached one jpg file see the difference between JITENDRA and the JITENDRA text written in box. Actually in movie clip the clearity of font is going. Please help me if anyone know the solution of it.

Regards,  
Jitendra Jadav.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 11:09am UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/2 "2004-07-12T11:09:07Z")

</div>

Be sure that the mc **and** the textfield in it are on whole pixels:)

scotty(-:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 1:50pm UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/3 "2004-07-12T13:50:32Z")

</div>

> [@scotty](#):
>
> Be sure that the mc **and** the textfield in it are on whole pixels:)
> 
> scotty(-:

Hi Scotty,  
Thanks for your reply but I’m confused, are you talking about Ruler Unit of Document. If yes then it is all in Pixel.

Regards,  
Jitendra Jadav.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 4:22pm UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/4 "2004-07-12T16:22:26Z")

</div>

look at the \_x and \_y positions of the textfield containing the blurry text, they might be something like x:25.4 y:25.9, they need to be x:25 y:25, so the text is crisp. Sometimes when you adjust a property like alpha flash helps you out and moves things a bit, a good solution to blurry text is to Math.floor the x and y positions after you modify the text. ie  
textField.\_alpha += 1;  
textField.\_x = Math.floor(textField.\_x);  
textField.\_y = Math.floor(textField.\_y);

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 12, 2004, 6:05pm UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/5 "2004-07-12T18:05:11Z")

</div>

Like paradox244 says, but check the position of the movieclip the textfield is in as well, it should be also on whole pixels (25 instead of 25,4 eg).

scotty(-:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 4:48am UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/6 "2004-07-13T04:48:19Z")

</div>

> [@paradox244](#):
>
> look at the \_x and \_y positions of the textfield containing the blurry text, they might be something like x:25.4 y:25.9, they need to be x:25 y:25, so the text is crisp. Sometimes when you adjust a property like alpha flash helps you out and moves things a bit, a good solution to blurry text is to Math.floor the x and y positions after you modify the text. ie  
> textField.\_alpha += 1;  
> textField.\_x = Math.floor(textField.\_x);  
> textField.\_y = Math.floor(textField.\_y);

Hi,  
Thank you very much for giving me the solution I’d tried your code and it works successfully.

Regards,  
Jitendra Jadav.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 5:22am UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/7 "2004-07-13T05:22:50Z")

</div>

Don’t thank me I just reworded what scotty said he did all the work here, he deserves the credit. I’m just glad you were able to work it out.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 13, 2004, 8:17am UTC](https://forum.kirupa.com/t/alpha-text-problem/57321/8 "2004-07-13T08:17:12Z")

</div>

I give those credits back to you, paradox244, I was rather vague, you’ve explained it much better;)

scotty(-:
