by Adobe

Adobe logo


18 July 2010



User level


Required products

Capturing user input using the ActionScript 3 slider component makes using a slider easier than ever. A slider creates a draggable handle that generates a percentage value based on its location. A simple event handler function can be used to respond to the value changes while dragging.

This sample demonstrates an animation whose path is controlled by two sliders. Drag the slider handles to see the changes in the animation.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.