# Slider with Tickers..I'm STUCK!

**URL:** <https://forum.kirupa.com/t/slider-with-tickers-im-stuck/171733>\
**Category:** Uncategorized\
**Created:** [December 7, 2005, 8:01pm UTC](https://forum.kirupa.com/t/slider-with-tickers-im-stuck/171733 "2005-12-07T20:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Obamskie](https://avatars.discourse-cdn.com/v4/letter/o/5f9b8f/32.png) [@Obamskie](https://forum.kirupa.com/u/Obamskie)\
**Post date:** [December 7, 2005, 8:01pm UTC](https://forum.kirupa.com/t/slider-with-tickers-im-stuck/171733/1 "2005-12-07T20:01:35Z")

</div>

_First I wanna tnx you guys for this wonderfull site.  
I’m just new in Flash8 AS. This is btw a school assig nment. I hope you guys can help me!_

**My problem:**  
I want to create a slider with several niveau’s.  
I used and modified the tutorial of Ilyas usal aka \*\*\*\*🙂 [This Tutorial](http://www.kirupa.com/developer/mx/slider.htm)

But I want to slide between 4 levels… like _Spring-Summer-Autumn-Winter_  
You can see my version of the slider [HERE](http://homepages.adc.fcj.hvu.nl/1216824/FLASH/SLIDER_ticker.swf)

Here is the code I used:\*

```auto

// Obamskie@gmail.com
// Slider Spring-Summer-Autumn
this.onEnterFrame=function() {	

	shout_ratio_season.text=Slider_season.ratio;
	   if (Slider_season.ratio <= 24) { 
		 shout_season.text="Spring" ;
		} 
	else if (Slider_season.ratio <= 49) { 
	 shout_season.text="Summer" ;
		} 
	else if (Slider_season.ratio <= 74) { 
	 shout_season.text="Autumn" ;
		} 
	else if (Slider_season.ratio <= 100) { 
	 shout_season.text="Winter" ;
		}
}

```

\*What I want is when I release the dragger between for example x=0/24 that the dragger automatically goes to x=0 (thats the Spring ticker)

and when I release the dragger between x=24/49, the dragger automatically goes to x=49. (the Summer ticker)

I’ve got this idea from Ghostwire components… this is their example  
[Check it out](http://ghostwire.com/go/176)

I hope you guys understand my problem, and I hope someone comes with the solution:)

Tnx dudes!!!

p.s. The .FLA file you can download [here](http://homepages.adc.fcj.hvu.nl/1216824/FLASH/SLIDER_ticker.fla)
