Skip to main content
Participant
October 3, 2011
Question

Flash Slider- Slider Position Directs You to Another Frame

  • October 3, 2011
  • 1 reply
  • 790 views

Hi Everyone,

I'll keep it brief and direct-

I have a frame that has a slider. I need the slider to affect a few things.

1. If the slider does not move, I need copy to pop-up saying "You Did Not Move the Slider."

2. If the slider moves, say... 25%-35% I need a button that reads you moved the slider only that much and, when you press the button, sends you to a different frame on the timeline.

3. Same as 2 except that the slider moves between 75%-85% and the button takes you to a different frame.

Any idea how to do this? Is there a name for something like this? Any information at all is appreciated. Actually solving this problem would be FANTASTIC.

PHX

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
October 4, 2011

If you are planning to have a custome slider, then you should search Google using terms like "AS2 customer slider tutorial"  I don't believe AS2 includes a Slider component, but if you use AS3 there is one available.  With it you can set the minimum, maximum, and intervals.

For item 1, what is the criteria for determining that the slider hasn't moved... meaning does the user get a chance to move it before the message occurs?

For the other items, when you have a working Slider, you should be able to figure out how to utilize the values for different actions.

imawizudAuthor
Participant
October 4, 2011

If AS3 is the way to go for a custom slider, then I'll try that. What values can I apply to a slider to determine an action?

Ned Murphy
Legend
October 4, 2011

You can create a custom slider with AS3 too, but that wasn't what I was saying since you posted in the AS2 forum.  In general, you don't assign any values, you design them... namely the width property of the slider.  You use the (x) position of the slider handle along that width to determine what percentage the slider is at.