/ Published in: ActionScript
URL: http://www.kirupa.com/developer/mx/slider.htm
como hacer un dragger con una linea y un arrow
Expand |
Embed | Plain Text
startDrag(lockCenter,left,up,right,bottom) this.startDrag(true,0,0,line._width,0); -----------ahora el codigo----------------- this.ratio=0 ; dragger.onPress=function(){ this.startDrag(true,0,0,line._width,0); this.onEnterFrame=function(){ ratio=Math.round(this._x*100/line._width) ; } } dragger.onRelease=dragger.onReleaseOutside=stopDrag;
You need to login to post a comment.
