forked from: How do I change the Knob's size ?

by complexresponse
♥0 | Line 10 | Modified 2010-09-28 00:10:27 | MIT License
play

ActionScript3 source code

/**
 * Copyright complexresponse ( http://wonderfl.net/user/complexresponse )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/uF9F
 */

// forked from keim_at_Si's How do I change the Knob's size ?
package {
    import flash.display.Sprite;
    import com.bit101.components.*;
    
    public class main extends Sprite {
        function main() {
            
            var knob:Knob = new Knob(this);
            // How do I change the Knob's size ?
            // どうやってKnobのサイズを変更すれば良いんでしょうか?
            knob.setSize(50, 50);
            
            // Regarding to the source code, 
            // we cannnot change 
            // the Knob's radius in version 0.102 !!
            // ソースを読む限り,
            // version 0.102 では Knob の半径を変更できません!!
        }
    }
}