有人可以帮我运行示例文件吗?我无法理解 Google 指南(因为我是 Java 开发人员,所以没有使用 ActionScript 的经验),但想使用这个 SDK 运行一些 vpaid 标签。
我已经安装了 Adobe Flash CC 2014。还将 ima_lib_as3.swc 集成到 flash 中(在组件中可用)。现在我创建了一个新的 ActionScript 3.0 (flv) 文件,并在动作中包含了这个文件。
var t:SdkIntegrationExample=new SdkIntegrationExample();
当我尝试编译时出现以下错误
/Users/xxx/Documents/Test.as, Line 77, Column 60 1046: Type was not found or was not a compile-time constant: VideoPlayer.
/Users/xxx/Documents/Test.as, Line 358, Column 47 1046: Type was not found or was not a compile-time constant: FlexEvent.
/Users/xxx/Documents/Test.as, Line 380, Column 61 1046: Type was not found or was not a compile-time constant: TimeEvent.
/Users/xxx/Documents/Test.as, Line 398, Column 61 1046: Type was not found or was not a compile-time constant: FlexEvent.
/Users/xxx/Documents/Test.as, Line 410, Column 51 1046: Type was not found or was not a compile-time constant: TimeEvent.
有人会引导我朝着正确的方向前进,并用简单的术语分解程序吗?