# Highlight box when rollover

**URL:** <https://forum.kirupa.com/t/highlight-box-when-rollover/277894>\
**Category:** flash\
**Created:** [December 18, 2008, 3:12pm UTC](https://forum.kirupa.com/t/highlight-box-when-rollover/277894 "2008-12-18T15:12:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Designer86](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@Designer86](https://forum.kirupa.com/u/Designer86)\
**Post date:** [December 18, 2008, 3:12pm UTC](https://forum.kirupa.com/t/highlight-box-when-rollover/277894/1 "2008-12-18T15:12:47Z")

</div>

I am working on a flash menu and I have 3 boxes that when you rollover, the box moves up and loads a movie. I am trying to add another rollover that highlight the moving box when you rollover and then return to the original when you roll out. I have managed to color the box when you rollover but I would like to to outline it.

Here is the code that I have

on (rollOver) {  
var colorful = new Color("\_root.shapes");  
colorful.setRGB(0x003366);  
}  
on (rollOver) {  
loadMovie (“MOVAUTO.swf”, “containerclip”);  
gotoAndPlay(1);  
stop();  
}
