股墓山庄

专注于AS3,JavaScript 每天一点进步,坚持...
  博客园  :: 首页  :: 新随笔  :: 联系 :: 管理

2012年5月24日

摘要: var shape:Sprite=new Sprite();addChild(shape);shape.graphics.beginFill(0xff0000, 1);shape.graphics.lineStyle(2);shape.graphics.moveTo(200,200);shape.graphics.lineTo(100,300);shape.graphics.lineTo(300,300);shape.graphics.lineTo(200, 200);shape.graphics.endFill(); 阅读全文

posted @ 2012-05-24 16:19 股墓山庄庄主 阅读(484) 评论(0) 推荐(0) 编辑

摘要: 可以放在一個Sprite里面然后把Sprite的buttomMode打開另外一個辦法是使用htmlTextTextField.htmlText = "<a herf=\"\">yourtext</a>"; 阅读全文

posted @ 2012-05-24 11:29 股墓山庄庄主 阅读(215) 评论(0) 推荐(0) 编辑

摘要: 代码如下:for(var i:int=0;i<10;i++){graphics.moveTo(50+i*20,50);graphics.lineStyle(1,0xff,1);graphics.lineTo(60+i*20,50);} 阅读全文

posted @ 2012-05-24 10:05 股墓山庄庄主 阅读(1208) 评论(0) 推荐(0) 编辑