# Thumbnail to larger pic display

**URL:** <https://forum.kirupa.com/t/thumbnail-to-larger-pic-display/300826>\
**Category:** Uncategorized\
**Created:** [November 28, 2009, 12:12pm UTC](https://forum.kirupa.com/t/thumbnail-to-larger-pic-display/300826 "2009-11-28T12:12:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Still\_Learning](https://avatars.discourse-cdn.com/v4/letter/s/ed8c4c/32.png) [@Still\_Learning](https://forum.kirupa.com/u/Still_Learning)\
**Post date:** [November 28, 2009, 12:12pm UTC](https://forum.kirupa.com/t/thumbnail-to-larger-pic-display/300826/1 "2009-11-28T12:12:32Z")

</div>

Hello there,

I am in desperate need of some assistance (again). I have created some thumbnail images (as buttons) that need to open to larger images once clicked.

Currently I have it set up to open a new browser window but this is not what I want.

Herewith existing code:  
[SIZE=1][COLOR=royalblue]thumb1.addEventListener( MouseEvent.CLICK, goto\_thumb1 );[/COLOR][/SIZE]  
[SIZE=1][COLOR=royalblue]function goto\_thumb1(e:MouseEvent):void  
{  
navigateToURL( new URLRequest( “thumb1.swf” ), “\_blank” );  
}[/COLOR][/SIZE]

I need the larger pic display to be restrained to the size 600x400 and preferably to load in front to the main website (like a popup).

I would appreciate your URGENT assistance.

Many thanks in advance.  
Lisa
