Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/96.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
AIR/IOS-需要使用Adobe Gaming SDK 1.3的GameCenter工作示例_Ios_Actionscript 3_Air_Game Center_Leaderboard - Fatal编程技术网

AIR/IOS-需要使用Adobe Gaming SDK 1.3的GameCenter工作示例

AIR/IOS-需要使用Adobe Gaming SDK 1.3的GameCenter工作示例,ios,actionscript-3,air,game-center,leaderboard,Ios,Actionscript 3,Air,Game Center,Leaderboard,使用免费的Adobe Gaming SDK 1.3示例GameCenter无法工作/编译。当我尝试创建GameCenterController的实例时,它表示该实例为null //类变量 专用控制器:GameCenterController //在GameCenterController.isSupported=true之后的构造函数中。 gcController=GameCenterController(); 跟踪(gcController);//返回null 我只是尽量不花70美元在Milk

使用免费的Adobe Gaming SDK 1.3示例GameCenter无法工作/编译。当我尝试创建GameCenterController的实例时,它表示该实例为null

//类变量 专用控制器:GameCenterController

//在GameCenterController.isSupported=true之后的构造函数中。 gcController=GameCenterController(); 跟踪(gcController);//返回null

我只是尽量不花70美元在MilkManGames()的一些代码上,而这应该可以很好地工作,从源代码中免费提供


想法?

您没有正确地包括游戏中心。您必须将ANE文件添加为本机扩展名(如果您在Flash Builder中,项目>属性>Flex/ActionScript构建路径>本机扩展名),并且必须将其包含在项目中,以便使用适当的平台(在Flash Builder中,项目>属性>Flex/Actionscipt构建打包>iOS>本机扩展名)

这里没有任何示例对您有所帮助,因为您没有正确地包含本机扩展