先看我做的效果:
制作步骤:
新建立Flash文档,按Ctrl+J修改属性,效果如下:

然后导入一幅图片:

然后打开库,双击导入的图片,修改属性为平滑:

然后按Ctrl+K打开对齐面板,设置如下:

把该图片转换成电影剪辑元件:

把图层1改名为Spin MovieClip。然后双击舞台上的影剪辑元件,

然后选择Actionscript层的第1帧后按F9打开动作面板,输入下面指令:
| speed = 0; // Acceleration speed. accel = .1; // Every frame execute the following code. this.onEnterFrame = function(){ // Increment speed by the acceleration. speed = Math.round((speed + accel)*100)/100; // Rotate the shape by the current spin speed. _rotation += speed; } |
制作完毕!按Ctrl+Enter测试吧。
看源文件:

/upimg/soft/6/1_070607012054.rar
admin#flashas.net (#为@) 联系QQ:
:40777822
浙ICP备06033001号