# Hover captions showing before mouse over button

**URL:** <https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181>\
**Category:** Uncategorized\
**Created:** [August 21, 2004, 4:37pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181 "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/120181/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:** ![krilnon](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krilnon/32/34_2.png) [@krilnon](https://forum.kirupa.com/u/krilnon)\
**Post date:** [August 21, 2004, 4:44pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/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:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [August 21, 2004, 5:42pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/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:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [August 22, 2004, 1:41pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/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:** ![deQue](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@deQue](https://forum.kirupa.com/u/deQue)\
**Post date:** [August 22, 2004, 2:12pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/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:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [August 22, 2004, 4:50pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/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:** ![deQue](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@deQue](https://forum.kirupa.com/u/deQue)\
**Post date:** [August 22, 2004, 6:45pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/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:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [August 22, 2004, 6:46pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/8 "2004-08-22T18:46:00Z")

</div>

thanks a lot. I´ll try that.

---

<div class="post-metadata">

**Author:** ![scotty](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@scotty](https://forum.kirupa.com/u/scotty)\
**Post date:** [August 22, 2004, 6:58pm UTC](https://forum.kirupa.com/t/hover-captions-showing-before-mouse-over-button/120181/9 "2004-08-22T18:58:03Z")

</div>

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

who says??

scotty(-:
