# Scrolling content

**URL:** <https://forum.kirupa.com/t/scrolling-content/313533>\
**Category:** Uncategorized\
**Created:** [September 2, 2010, 5:38am UTC](https://forum.kirupa.com/t/scrolling-content/313533 "2010-09-02T05:38:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellim](https://avatars.discourse-cdn.com/v4/letter/e/53a042/32.png) [@ellim](https://forum.kirupa.com/u/ellim)\
**Post date:** [September 2, 2010, 5:38am UTC](https://forum.kirupa.com/t/scrolling-content/313533/1 "2010-09-02T05:38:29Z")

</div>

Can someone please explain to me how to make a sliding content with a next and previous button in AS3? I know how to do it in AS1 but in this particular project I made use of Tweenlite, which requires AS3. Basically, I have a vertical movieclip navigation that toggles back and forth, and in each movieclip i want to insert a sliding image gallery with the next and previous button.

It’s similar to this one  
[http://www.files.riacodes.com/flash\_sliding-content/](http://www.files.riacodes.com/flash_sliding-content/),  
but instead of having individual links, i just want to have a NEXT and PREVIOUS button, and it is inside a movieclip. :))

Is it also possible to have links in each image? Anyway, in case I’m not making myself clear I attached a sample fla. and jpeg file of what I’d like to happen. :D:D

JPEG file = [http://www.actionscript.org/forums/attachment.php3?attachmentid=35345&stc=1&d=1283404320](http://www.actionscript.org/forums/attachment.php3?attachmentid=35345&stc=1&d=1283404320)

FLA file = [http://www.megaupload.com/?d=WS0L9YGE](http://www.megaupload.com/?d=WS0L9YGE) It’s only 1.12MB in size.

Any help would be much appreciated.  
THanks !
