# Hover captions showing before mouse over button

**URL:** <https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771>\
**Category:** Uncategorized\
**Created:** [August 21, 2004, 4:37pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771 "2004-08-21T16:37:56Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [August 21, 2004, 4:37pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/1 "2004-08-21T16:37:56Z")

</div>

My hover captions are appearing as soon as the movie is loaded, even when the mouse is not over any button.To make them work fine, I have to rollover a button so the hover captions works fine.  
Ho wto fix that?

---

<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:** [August 21, 2004, 4:44pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/2 "2004-08-21T16:44:51Z")

</div>

.fla? Maybe you did something weird.

(or at least the AS you used)

---

<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:** [August 21, 2004, 5:42pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/3 "2004-08-21T17:42:20Z")

</div>

I used this tutorial

[http://www.kirupa.com/developer/mx/captions.htm](http://www.kirupa.com/developer/mx/captions.htm)

the error happens only when the movie is loaded inside another movie loadmovie (“movie.swf”, “mc”);

can´t send you the fla right now, but be sure I´ve used exactly the same code from Kirupa´s tutorial. Maybe I should add some extra code to prevent the hover captions from appearing?

---

<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:** [August 22, 2004, 1:41pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/4 "2004-08-22T13:41:31Z")

</div>

In the action layer put:

```auto
caption._alpha =0;

```

this will hide the caption at start:)

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:** [August 22, 2004, 2:12pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/5 "2004-08-22T14:12:38Z")

</div>

Use **_caption.\_visible_** instead of **_caption.\_alpha_**.  
In general, that method, in the tutorial, is not the most efficient way of doing this.  
Instead of using the \*\_alpha=XX \* method, you should use _\_visible=true/false_.  
That way, you will not have to change the caption text to " " everytime.

---

<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:** [August 22, 2004, 4:50pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/6 "2004-08-22T16:50:45Z")

</div>

If you’ve looked at the tutorial, you’ll see that the tut uses \_alpha=0 and for rollover alpha=50, that why I gave the alpha solution in stead of the visible one;)

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:** [August 22, 2004, 6:45pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/7 "2004-08-22T18:45:12Z")

</div>

I looked at the tut, that’s why I suggested using \_visible instead \_alpha. You can still use semi-transparent hovers, along with \_visible.

Sometimes using \_alpha causes weird side-effects like ghosts and stuff, so it is always better to use \_visible than \_alpha.

But I guess you’re smarter than me…

---

<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:** [August 22, 2004, 6:46pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/8 "2004-08-22T18:46:00Z")

</div>

thanks a lot. I´ll try that.

---

<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:** [August 22, 2004, 6:58pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/61771/9 "2004-08-22T18:58:03Z")

</div>

> [@deQue](#):
>
> …But I guess you’re smarter than me…

who says??

scotty(-:
