0
我试图在Edge动画之外做两件事。通过jQuery访问Adobe Edge动画实例
现场 3名男生处于闲置状态。
行动
- 点击任何男孩。
- 用'封闭的'嘴巴PNG替换'打开'的嘴巴PNG。
正尝试通过
$(this).on('click', function(){
//Close the mouth
});
在我的HTML页面中使用jQuery每个角色绑定正在使用的代码是从文档(这限制了关于如何访问通过jQuery的动画实例说明)。
var comp = AdobeEdge.getComposition("act0_introduction");
var stage = comp.getStage();
console.log("Stage: "+stage);
错误时通过浏览器接收是: Uncaught TypeError: Object #<Object> has no method 'getComposition'
可悲的是它不工作,我减少了我的脚本的最低限度的错误仍然显示。 http://pastebin.com/T8PWtApc – 2013-03-12 01:15:21