Flash as3 错误影片剪辑:1046:未找到类型或不是编译时常量:输入
Flash as3 error movieClip : 1046: Type was not found or was not a compile-time constant: input
import flash.display.MovieClip;
import flash.display.Stage;
function setPuzzle(MovieClip: input): void {
//input.rotation = Math.floor(Math.random() * 2);
}
请帮助我..我是 as3 的新手...我无法修复此错误:"(
function setPuzzle(MovieClip: input)
-> function setPuzzle(input: MovieClip)
要了解 as3 function
请查看那篇文章 http://www.adobe.com/devnet/actionscript/learning/as3-fundamentals/functions.html
import flash.display.MovieClip;
import flash.display.Stage;
function setPuzzle(MovieClip: input): void {
//input.rotation = Math.floor(Math.random() * 2);
}
请帮助我..我是 as3 的新手...我无法修复此错误:"(
function setPuzzle(MovieClip: input)
-> function setPuzzle(input: MovieClip)
要了解 as3 function
请查看那篇文章 http://www.adobe.com/devnet/actionscript/learning/as3-fundamentals/functions.html