# Scaling images on rollover

**URL:** https://forum.kirupa.com/t/scaling-images-on-rollover/88209
**Category:** flash
**Created:** [April 27, 2005, 3:09pm UTC](https://forum.kirupa.com/t/scaling-images-on-rollover/88209 "2005-04-27T15:09:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jondj24](https://avatars.discourse-cdn.com/v4/letter/j/5f9b8f/32.png) [@jondj24](https://forum.kirupa.com/u/jondj24)
#### Post date: [April 27, 2005, 3:09pm UTC](https://forum.kirupa.com/t/scaling-images-on-rollover/88209/1 "2005-04-27T15:09:11Z")

</div>

Hello.  
I have a situation where i have 30 images on a splash page and when you rollover the small image it creates a larger version at the 4 corners of the page. See example here:Splash

Currently i am using this script:

```auto

on (rollOver) {
	this._width = 128;
	this._height = 128;
}

on (rollOut) {
	this._width = 32;
	this._height = 32;
}

```

but this code has the small image dissappear on rollover as the bigger image displays. Is there anyway that i can have both images displayed on rollover? Does anyone know a script for this action? By the way i want to make the page so that the user is only loading the one larger image instead of 2 of every image. Again take a look at the link above.

thanks.  
Jonathan
