# Another Array question

**URL:** <https://forum.kirupa.com/t/another-array-question/239327>\
**Category:** flash\
**Created:** [September 20, 2007, 3:56pm UTC](https://forum.kirupa.com/t/another-array-question/239327 "2007-09-20T15:56:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bennymartensson](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/bennymartensson/32/1317_2.png) [@bennymartensson](https://forum.kirupa.com/u/bennymartensson)\
**Post date:** [September 20, 2007, 3:56pm UTC](https://forum.kirupa.com/t/another-array-question/239327/1 "2007-09-20T15:56:23Z")

</div>

I have this way of clicking through an array (called images) of jpg’s. How to make my rew button allowing me to go backwards? Or is there an easier way to do this?

```auto

var ffCount:Number = -1;
function ffLarge(event:Event):void {

	if (ffCount < images.length) {
		ffCount ++;
		var ffLarge:URLRequest = new URLRequest(images[ffCount]);
		imageContainer.load(ffLarge);
	}
}

ff_mc.addEventListener(MouseEvent.CLICK, ffLarge);

```
