用Flash 的 AS代码来编写一个蝌蚪自由摆尾游动的动画
本文中我们用Flash 的 AS代码来编写一个蝌蚪自由摆尾游动的动画。
效果查看: http://www.68design.net/download/flash//20070518001.swf
效果查看: http://www.68design.net/download/flash//20070518001.swf
场景里代码:
Object.environment = this; Math.prototype.degrees = function (r) { }; maxtents = 3; this.onEnterFrame = function () { }; stop () |
MC里的代码:
#initclip 1 function TentacleClass() { } // End of the function TentacleClass.prototype = new MovieClip(); TentacleClass.prototype.generateNodes = function () { }; TentacleClass.prototype.move = function () { |