forked from: Bit-101 Minimal Comps

by hacker_rs10vazy forked from Bit-101 Minimal Comps (diff: 37)
♥0 | Line 40 | Modified 2010-09-16 20:13:46 | MIT License
play

ActionScript3 source code

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

// forked from onedayitwillmake's Bit-101 Minimal Comps
package
{
    import com.bit101.components.*;
    import flash.display.Sprite;
    import flash.events.Event;

    [SWF(backgroundColor=0xeeeeee, width=465, height=465)]
    public class MyClass extends Sprite
    {
        private var myCheckBox:CheckBox;
        private var myColorChooser:ColorChooser;
        private var myHSlider:HSlider;
        private var myHUISlider:HUISlider;
        private var myInputText:InputText;
        private var myLabel:Label;
        private var myProgressBar:ProgressBar;
        private var myPushButton:PushButton;
        private var myRadioButton:RadioButton;
        private var myRadioButton2:RadioButton;
        private var myText:Text;
        private var myVSlider:VSlider;
        private var myVUISlider:VUISlider;

        public function MyClass()
        {
            myCheckBox = new CheckBox(this, 100, 30, "CheckBox");
                        myCheckBox.selected = true;

            myColorChooser = new ColorChooser(this, 90, 70, 0xff0000);

            myHSlider = new HSlider(this, 70, 50);

            myHUISlider = new HUISlider(this, 30, 100, "HUISlider");

            myInputText = new InputText(this, 80, 130, "InputText");

            myLabel = new Label(this, 90, 0, "minimal comps");

            myProgressBar = new ProgressBar(this, 80, 170);

            myPushButton = new PushButton(this, 80, 350, "PushButton");

            myRadioButton = new RadioButton(this, 90, 200, "RadioButton");

            myRadioButton2 = new RadioButton(this, 90, 220, "RadioButton");

            myText = new Text(this, 40, 240, "Text");

            myVSlider = new VSlider(this, 210, 110);

            myVUISlider = new VUISlider(this, 220, 90, "VUISlider");

        }
    }
}