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
But I want to slide between 4 levels… like Spring-Summer-Autumn-Winter
You can see my version of the slider HERE
Here is the code I used:*
// 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
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