# How to control multi layered slider with buttons?

**URL:** https://forum.kirupa.com/t/how-to-control-multi-layered-slider-with-buttons/328304
**Category:** flash
**Created:** [May 6, 2012, 7:37am UTC](https://forum.kirupa.com/t/how-to-control-multi-layered-slider-with-buttons/328304 "2012-05-06T07:37:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sanjay89](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@sanjay89](https://forum.kirupa.com/u/sanjay89)
#### Post date: [May 6, 2012, 7:37am UTC](https://forum.kirupa.com/t/how-to-control-multi-layered-slider-with-buttons/328304/1 "2012-05-06T07:37:37Z")

</div>

Hello,

I am rather new to flash and AS. I made a slider with 5 slides(each slide in one layer,so a total of 5 layers) with each slide containing motion tweened text and movie clip symbols.  
Each slide is of 100 frames length. I want to interact these slider with forward and backward buttons in it.I want the slider to go to previous slide if I click  
backward button and next slide if i click forward button.  
So I need a piece of action script code to get the desired result.

also I need status of the slider.I want to keep 5 circles at the bottom of the slider, each one highlighting with respect to current running slide.

Thanks in advance  
Sanjay
