flash on 2011-7-24
...
@author
♥0 |
Line 16 |
Modified 2011-07-24 15:35:33 |
MIT License
archived:2017-03-20 03:26:08
ActionScript3 source code
/**
* Copyright points ( http://wonderfl.net/user/points )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/wLyI
*/
package {
import com.bit101.components.InputText;
import com.bit101.components.PushButton;
import flash.display.Sprite;
import flash.events.MouseEvent;
/**
* ...
* @author
*/
public class NewClass extends Sprite {
private var input:InputText;
public function NewClass(){
input = new InputText(this, 200, 150, "", null);
new PushButton(this, 200, 200, "convert !", onPush);
}
private function onPush(e:MouseEvent):void {
input.text = int(input.text).toString(16).toUpperCase();
}
}
}