九九乘法表
http://wonderfl.net/user/plus.log/codes
/**
* Copyright plus.log ( http://wonderfl.net/user/plus.log )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/HsrR
*/
/* http://wonderfl.net/user/plus.log/codes */
package {
import flash.display.*;
import flash.text.*;
public class ninenineTable extends Sprite {
public function ninenineTable() {
for (var i:int = 1 ; i<10 ; i++){
for (var j:int = 1 ; j<=i ; j++){
var lable:TextField = new TextField();
lable.text = i + "x" + j + "=" + i*j;
lable.x = 45*i;
lable.y = 20*j;
lable.textColor = 0x990000;
addChild(lable);
}}
}
}
}