# Creating an image viewer with slider bar

**URL:** <https://forum.kirupa.com/t/creating-an-image-viewer-with-slider-bar/304521>\
**Category:** flash\
**Created:** [February 9, 2010, 11:24am UTC](https://forum.kirupa.com/t/creating-an-image-viewer-with-slider-bar/304521 "2010-02-09T11:24:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amipixie](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@amipixie](https://forum.kirupa.com/u/amipixie)\
**Post date:** [February 9, 2010, 11:24am UTC](https://forum.kirupa.com/t/creating-an-image-viewer-with-slider-bar/304521/1 "2010-02-09T11:24:59Z")

</div>

Hi all,

I’m new to all of this and really rather suck at actionscript. I can mostly understand it but I can’t write it!

Basically I am trying to make a VERY simple image viewer using a slider bar to navigate through the movie clip frames. I have been searching for hours for a nice simple tutorial or fla file but I cant find one. The movie clip currently has 8 frames each one an image, but it may have more or less.

I don’t want to create movie clips inside movie clips; rather I have created a button which is fixed to slide along a 400px line. I would like to know what on earth I write to link the movement of the slider button to the frames in the movie clip… for example the first image would be displayed when the slider button is between 0 and 50 pixels of the line upon which it slides.

Does this make sense?

Your help would be greatly appreciated!! 🙂

xx
