开发者

How to control Flash slider bar with input text and vice versa in AS3?

开发者 https://www.devze.com 2022-12-20 12:55 出处:网络
This link will show you what I\'m trying to do, but in AS3 and with additional features I\'ve described below:

This link will show you what I'm trying to do, but in AS3 and with additional features I've described below: http://www.kirupa.com/developer/mx/slider.htm

  1. Sliders will have different max and min values (5-100, 0-80, etc)
  2. Need to be able to modify the text in the dynamic box, which also manipulates开发者_开发百科 the slider. For instance, I'd like to be able to drag the slider to, say, 12 and then type in 25 on the box and the slider moves to 25.

Can someone help?

Thanks!


The AS3 Slider Class will help you with this - you can set the maximum, minimum and value.

There's an example here.

0

精彩评论

暂无评论...
验证码 换一张
取 消