通过Flash可以让任何的图片飞速旋转起来!通过这个教程你就可以掌握这种方法。本教程只是简单的制作一个最基础的实例,你需要的更好的效果可以自己发挥啊!用Action sctipt控制还可以让它有由慢到快的效果!
先看我做的效果:
制作步骤:
新建立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测试吧。