详细代码:400多行哦,要有耐心的。
复制代码
var thAStext:TextField =new TextField();
thAStext.autoSize="left";
thAStext.x=10;
thAStext.y=4;
thAStext.text="2009年9月21日 AS3.0实例";
var thAS_fmt:TextFormat =new TextFormat();
thAS_fmt.bold=true;
thAS_fmt.color=0x990000;
thAS_fmt.font="Arial";
thAS_fmt.size=14;
thAStext.setTextFormat(thAS_fmt);
addChild(thAStext);
var emailtext:TextField =new TextField();
emailtext.autoSize="left";
emailtext.x=280;
emailtext.y=375;
emailtext.text="https://www.jb51.net";
var email_fmt:TextFormat =new TextFormat();
email_fmt.bold=true;
email_fmt.color=0x990000;
email_fmt.font="Arial";
email_fmt.size=14;
emailtext.setTextFormat(email_fmt);
addChild(emailtext);
var shadow:DropShadowFilter = new DropShadowFilter();
shadow.distance=5;
shadow.angle=45;
shadow.color=0x000066;
var slmtext:TextField =new TextField();
slmtext.autoSize="left";
slmtext.x=110;
slmtext.y=25;
slmtext.text="AS3.0纯脚本画眨眼女孩";
var slm_fmt:TextFormat =new TextFormat();
slm_fmt.bold=true;
slm_fmt.color=0xff0000;
slm_fmt.font="方正行楷繁体";
slm_fmt.size=30;
slmtext.setTextFormat(slm_fmt);
slmtext.filters=[shadow];
addChild(slmtext);
var myspe:Sprite =new Sprite();
function eye() {
myspe.graphics.clear();
myspe.graphics.lineStyle(2, 0x000000, 1);
myspe.graphics.moveTo(133, 178);
myspe.graphics.curveTo(116, 166, 104, 183);
myspe.graphics.moveTo(132, 181);
myspe.graphics.curveTo(116, 169, 104, 184);
myspe.graphics.moveTo(132, 184);
myspe.graphics.curveTo(117, 170, 104, 184);










