# On (mouseOver) Unhide?

**URL:** <https://forum.kirupa.com/t/on-mouseover-unhide/28614>\
**Category:** Uncategorized\
**Created:** [August 15, 2003, 6:06pm UTC](https://forum.kirupa.com/t/on-mouseover-unhide/28614 "2003-08-15T18:06:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Voursez](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@Voursez](https://forum.kirupa.com/u/Voursez)\
**Post date:** [August 15, 2003, 6:06pm UTC](https://forum.kirupa.com/t/on-mouseover-unhide/28614/1 "2003-08-15T18:06:02Z")

</div>

Hi!

I have a problem. Is it possible to hide/unhide somrthing in flash? I want to have a pic, and when the mouse is over, it unhides the description of the pic…if you know, please tell me how…

thanks

Edit: Just wanted to make sure that my thread wasnt pulled down, to the dumb

---

<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 15, 2003, 6:31pm UTC](https://forum.kirupa.com/t/on-mouseover-unhide/28614/2 "2003-08-15T18:31:14Z")

</div>

Yes you can do that. You can initiall set all your descriptions to be invisible and they can turn visible when you move the mouse over.

[AS]  
//on the description  
this.\_visible = false;

//on the picture  
onClipEvent(enterFrame){  
this.onRollOver = function() {  
myDescription.\_visible = true;  
}  
}  
[/AS]

---

<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 15, 2003, 6:34pm UTC](https://forum.kirupa.com/t/on-mouseover-unhide/28614/3 "2003-08-15T18:34:27Z")

</div>

Thanks…Will just 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 15, 2003, 6:56pm UTC](https://forum.kirupa.com/t/on-mouseover-unhide/28614/4 "2003-08-15T18:56:52Z")

</div>

lil’ simplier version:

```auto
//on the description
this._visible = false;

//on the picture
on(rollOver) {
                myDescription._visible = true;
}

```

---

<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 15, 2003, 7:13pm UTC](https://forum.kirupa.com/t/on-mouseover-unhide/28614/5 "2003-08-15T19:13:33Z")

</div>

Another one. picture\_mc should be a movie clip [AS]description\_mc.onEnterFrame = function() {  
(picture\_mc.hitTest(\_xmouse, \_ymouse, false)) ? description\_mc.\_visible=true : description\_mc.\_visible=false;  
};[/AS]
