|
|
1
0
我看不到geochallenge游戏,因为某些原因我得到了一个空的facebook页面,但是要想让一个按钮改变它的形状,你可以创建一个函数来调用graphics属性。 var color:uint = 0x990000;
function clickHandler(event:MouseEvent):void
{
buttonGraphics(event.target as MovieClip)
}
function buttonGraphics(mc:MovieClip ):void
{
mc.graphics.clear; // clear the previous shape
mc.graphics.beginFill(color );
etc... //make the changes you need
}
|
|
|
nabster023 · 拉伸和旋转电影剪辑而不失真 8 年前 |
|
|
Dimentio · 无限循环(动作脚本3) 8 年前 |
|
|
AeroKLiam · AS3-使用组合框进行真/假测验 8 年前 |
|
|
nabster023 · 自动检测AS3中输入文本字段的值 8 年前 |
|
|
TheGunners · 查找两条圆弧之间的交点 8 年前 |