ActiveDen

sliding multiple choice selector

Use these sliding multiple choice as2 selectors in forms or polls or anywhere where you need the user to select between a few different options. Works best for “scale” measurement as well as yes and no answers.

They are easily customisable to any amount of options you need.

// EDIT Nayyer pointed out that I dont actually have a working example. Sorry guys – Will try and update this file asap. Meanwhile, here’s how you would use it.

Lets assume your slider is called slider 1. Whenever you need to know the value, call the following: slider1.getValue();

That will return a number that corresponds to the position of the dot.

If you then want to attach a value to the number, you need to create an array that holds your options. Like so: slider1Array = [””,”DISAGREE”,”NEUTRAL”,”AGREE”];

Then use the returned value in the array: slider1Array[slider1.getValue()] // This will return one of the above.

If you are using the sliders over many frames you’ll have to store each value when a person clicks continue in an array:

surveyArray = new Array(); btnNext.onRelease = function(){ surveyArray.push(slider1.getValue()); }

Then, on the final page loop through the array and format results the way you want to.

Hope that helps in the interim.

More files by me

Solitarious – Chinese Solitaire game

Themed memory game with php and asp save enabled

Themed memory game (Simple – No save)

Explosion of stars

Shuffle type

You must sign in or sign up to purchase this item.

$3Regular Licence

$3

Regular Licence a website (commercial, personal, client), free game, e-card, or presentation - Details

$15Extended Licence

$15

Extended Licence an app, paid game, or other software project, a website template for sale - Details

30 Purchases 10 Comments

Buyer Rating
12345 ( 7 ratings )
Morg

Morg

  • Has been a member for 5-6 years
  • Exclusive Author
  • Sold between 1 000 and 5 000 dollars
  • Bought between 10 and 49 items
  • South Africa
  • Referred between 1 and 9 users
View Portfolio
Created 2 November 08
ActionScript Version AS2
Documentation Some Help
Opens With Flash 8 (8+)
Published Size 5kb
by
by
by
by
by