StupidBeauty
Read times:483Posted at:Sun Dec 16 22:38:31 2012
- no title specified

转载 [AS3] 请问如何用as3改变背景颜色?

精灵的graphics属性绘制出来的东西都是位于它的后代对象的后面的,因此可做到背景的效果。

http://bbs.blueidea.com/thread-2889528-1-1.html

亮点

var _color = 0x000000;
var _alpha = 1;
graphics.beginFill(_color,_alpha);
graphics.drawRect(0,0,stage.stageWidth,stage.stageHeight);
graphics.endFill();

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4