复制内容到剪贴板
代码:
眨眼.onRelease = function() {
小人.眼眨();
}
争眼.onRelease = function() {
小人.眼睛("争眼");
}
闭眼.onRelease = function() {
小人.眼睛("闭眼");
}
对眼.onRelease = function() {
小人.眼球动作("右","左");
}
右转眼.onRelease = function() {
小人.眼球动作("右","右");
}
左转眼.onRelease = function() {
小人.眼球动作("左","左");
}
眼定中.onRelease = function() {
小人.眼球动作("中","中");
}
说话.onRelease = function() {
小人.讲话("N O !","NO");
}
张嘴.onRelease = function() {
小人.口形("张口");
}
闭嘴.onRelease = function() {
小人.口形("闭口");
}
向左移.onRelease = function() {
小人.移动(-1);
delete 小人.onEnterFrame;
}
向右移.onRelease = function() {
小人.移动(1);
delete 小人.onEnterFrame;
}
自动左移.onRelease = function() {
小人.onEnterFrame = function() {
小人.移动(-5);
if(this._x<0) delete this.onEnterFrame;
}
}
自动右移.onRelease = function() {
小人.onEnterFrame = function() {
小人.移动(5);
if(this._x>Stage.width) delete this.onEnterFrame;
}
}