# Dynamic Text blink using \_alpha

**URL:** <https://forum.kirupa.com/t/dynamic-text-blink-using--alpha/207000>\
**Category:** flash\
**Created:** [November 13, 2006, 11:30pm UTC](https://forum.kirupa.com/t/dynamic-text-blink-using--alpha/207000 "2006-11-13T23:30:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phlackee](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/phlackee/32/3002_2.png) [@phlackee](https://forum.kirupa.com/u/phlackee)\
**Post date:** [November 13, 2006, 11:30pm UTC](https://forum.kirupa.com/t/dynamic-text-blink-using--alpha/207000/1 "2006-11-13T23:30:15Z")

</div>

Hi guys.

I stuck. I have a slideshow that loads images fia xml.

I have a caption in the middle of stage, that fade in with image.

my problem is that it blinks all the time. I don’t know what should I do this is my code that fade image:

\*\* ActionScript:\*\*[COLOR=#000087]  
this[/COLOR]["[COLOR=blue]image\_dropzone[/COLOR]" + [COLOR=#000087]\_root[/COLOR].currentImage].[COLOR=#000087]\_alpha[/COLOR] = 100 \* ([COLOR=#000087]\_root[/COLOR].counter / ([COLOR=#000087]\_root[/COLOR].fade \* [COLOR=#000087]\_root[/COLOR].second));

and in this way I’m trying to fade text:

\*\* ActionScript:\*\*[COLOR=#000087]  
if[/COLOR]([COLOR=#000087]\_root[/COLOR].captions == [COLOR=#000087]true[/COLOR] || [COLOR=#000087]\_root[/COLOR].captions == “[COLOR=blue]true[/COLOR]”){

```
    [COLOR=#000087]_root[/COLOR].caption.tb_caption.[COLOR=#000087]text[/COLOR] = xmlData.slideshow[1].images[i-1].image[1].caption.value;
    [COLOR=#000087]_root[/COLOR].caption.[COLOR=#000087]_alpha[/COLOR] = 100 * ([COLOR=#000087]_root[/COLOR].counter / ([COLOR=#000087]_root[/COLOR].fade * [COLOR=#000087]_root[/COLOR].second));

```

} [COLOR=#000087]else[/COLOR] {

```
    [COLOR=#000087]_root[/COLOR].caption.[COLOR=#000087]_alpha[/COLOR] = 100 - (100 * ([COLOR=#000087]_root[/COLOR].counter / ([COLOR=#000087]_root[/COLOR].fade * [COLOR=#000087]_root[/COLOR].second)));

```

}

I have this Slideshow. [http://www.flashkit.com/movies/Scripting/XML/Slidesho-Brenton\_-8470/index.php](http://www.flashkit.com/movies/Scripting/XML/Slidesho-Brenton_-8470/index.php)

Any Idea or How to make \_root.caption Fade in and fade out with Image. Without Blink.

Thank you  
Flak.
