# Hovering Images (based on hovering captions tutorial)

**URL:** https://forum.kirupa.com/t/hovering-images-based-on-hovering-captions-tutorial/218475
**Category:** flash
**Created:** [March 8, 2007, 2:00am UTC](https://forum.kirupa.com/t/hovering-images-based-on-hovering-captions-tutorial/218475 "2007-03-08T02:00:25Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DavidCastillo](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@DavidCastillo](https://forum.kirupa.com/u/DavidCastillo)
#### Post date: [March 8, 2007, 2:00am UTC](https://forum.kirupa.com/t/hovering-images-based-on-hovering-captions-tutorial/218475/1 "2007-03-08T02:00:25Z")

</div>

Hello all,  
I was wondering if there may be a tutorial out there that expands upon the [hovering captions](http://www.kirupa.com/developer/mx2004/hover_captions.htm) tutorial, except with images.

What I’m looking to do is roll over a button, and in it’s rollover state display an image/movieclip wrapped in a border, similar to how the hovering captions is set up–where the border/container movieclip would stretch based on the size of the image contained within. The caption script has the border/background size based on text.length, so I’m assuming that there should be an easy way to implement this idea with images?

I am inspired by the javascript (showtrail) used on [ywft.org](http://www.youworkforthem.com/list.php?cat=4&new=release), and am looking for a similar effect in flash.

Any help is appreciated!

Cheers,  
DC
