# Really weird

**URL:** <https://forum.kirupa.com/t/really-weird/24629>\
**Category:** Uncategorized\
**Created:** [July 2, 2003, 11:52pm UTC](https://forum.kirupa.com/t/really-weird/24629 "2003-07-02T23:52:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![worm](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/worm/32/235_2.png) [@worm](https://forum.kirupa.com/u/worm)\
**Post date:** [July 2, 2003, 11:52pm UTC](https://forum.kirupa.com/t/really-weird/24629/1 "2003-07-02T23:52:13Z")

</div>

I was just testing my site and theres this section with a menu where on mousover, an image appears to the side of the movie. On ‘rollout’, the image is supposed to dissappear. This works perfectly except that i realised that if u click on one of the menu items, drag ur mouse and then let go, the image at the side remains. Heres the code that i used for the menu items.

[AS]on (release) {  
// customize the window that gets opened  
// 0 equals NO.  
// 1 equals YES.  
address = “slbdeadbeat.html”;  
target\_winName = “Digicel”;  
width = 544;  
height = 394;  
toolbar = 0;  
location = 0;  
directories = 0;  
status = 0;  
menubar = 0;  
scrollbars = 0;  
resizable = 0;  
// sends data back to the function  
openWinCentre(address, target\_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);  
}  
on (rollOver) {  
\_root.createEmptyMovieClip(“emptyMC”, 25);  
\_root.emptyMC.loadMovie(“pic\_slb.swf”);  
\_root.emptyMC.\_x = 500;  
\_root.emptyMC.\_y = 50;  
}  
on (rollOut) {  
\_root.emptyMC.removeMovieClip();  
}  
[/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:** [July 3, 2003, 12:01am UTC](https://forum.kirupa.com/t/really-weird/24629/2 "2003-07-03T00:01:33Z")

</div>

Try adding this to your button actions:

[AS]  
on (dragOut) {  
\_root.emptyMC.removeMovieClip();  
}  
[/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:** [July 3, 2003, 12:13am UTC](https://forum.kirupa.com/t/really-weird/24629/3 "2003-07-03T00:13:30Z")

</div>

Thanx man, it works like a charm

---

<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 3, 2003, 12:19am UTC](https://forum.kirupa.com/t/really-weird/24629/4 "2003-07-03T00:19:07Z")

</div>

No prob, glad it worked :thumb:
