开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜