Flash as3错误movieClip:1046:未找到类型或不是编译时常量:输入

时间:2016-08-02 18:59:02

标签: actionscript-3 movieclip

import flash.display.MovieClip;
import flash.display.Stage;

function setPuzzle(MovieClip: input): void {
    //input.rotation = Math.floor(Math.random() * 2);
}

请帮助我..我是as3的新手......我无法解决这个错误:“(

1 个答案:

答案 0 :(得分:0)

function setPuzzle(MovieClip: input) - > function setPuzzle(input: MovieClip)

要了解as3 function,请查看该文章http://www.adobe.com/devnet/actionscript/learning/as3-fundamentals/functions.html