flash on 2010-11-19
♥0 |
Line 23 |
Modified 2010-11-19 17:36:54 |
MIT License
archived:2017-03-20 12:13:39
ActionScript3 source code
/**
* Copyright CoremindJP ( http://wonderfl.net/user/CoremindJP )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/dDIK
*/
package {
import flash.text.TextFieldAutoSize;
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
private var
tf:TextField,
a:uint = 1,
b:uint = 2,
c:uint = 4,
d:uint = 8,
e:uint = 16,
f:uint = 32,
g:uint = 64,
h:uint = 128;
public function FlashTest() {
// write as3 code here..
tf = new TextField();
tf.autoSize = TextFieldAutoSize.CENTER;
addChild(tf);
tf.text = String( Boolean( (a|c|e|f|g|h) & (b|d) ) );
}
}
}