Flash gallery thumbnail linking problems

im working on a photo gallery, and working with AS3, basically i have a slider where when the mouse moves to the left or right of the thumbnail “strip”, it slides to that direction, therefore the layout of the gallery is like so:

(for the thumbnail slider) MAIN TIMELINE -> gallery_mc -> imagebar_mc -> imagebarinside_mc

the thumbnails all have instance names and are buttons.

(for the full images) **MAIN TIMELINE -> gallery_mc -> images_mc

**im having problems getting the thumbnail buttons to play the images.

heres the AS ive been using:

**import flash.events.MouseEvent;

thumbnailinstancename.addEventListener(MouseEvent.CLICK, thmb24Click);

function thmb24Click(event:MouseEvent):void{

i would really appreciate it if i could get some help on this :slight_smile: