升级3.1时,amature的一个大坑

正在升级3.1,
以前这样使用是没有问题的

var arm = *
ccs*.
Armature.create(
“xxx”);
arm.getAnimation().play(
“xxx”,-1,1);
现在改为下面,在WEB下面没有问题,JSB下面却出错,提示“
getAnimation(…) is null

var arm = new *
ccs*.
Armature(
“xxx”);
arm.getAnimation().play(
“xxx”,-1,1);
啥问题呢?

不止armature有问题,我测了连ccui.ImageView.create改为 new ccui.ImageView 后,在JSB下面也是有问题,看不到,坑爹啊。。。