首先,我知道有一个问题讨论这个问题,但说实话,我不能得到正确的使用方法,比如说我使用adobe edge animate在输出中创建动画Html我有边缘动作文件包含此代码< / p>
(function($, Edge, compId){
var Composition = Edge.Composition, Symbol = Edge.Symbol; // aliases for commonly used Edge classes
//Edge symbol: 'stage'
(function(symbolName) {
})("stage");
//Edge symbol end:'stage'
//=========================================================
//Edge symbol: 'Slide_17'
(function(symbolName) {
})("Slide_17");
//Edge symbol end:'Slide_17'
//=========================================================
//Edge symbol: 'sections_bar_1'
(function(symbolName) {
Symbol.bindElementAction(compId, symbolName, "${Btn5}", "click", function(sym, e) {
sym.getParentSymbol().stop("Se5");
sym.$("icon1").show();
sym.$("icon2").show();
sym.$("icon3").show();
sym.$("icon4").show();
sym.$("icon5").hide();
sym.$("Ellip").css({"top":"1419px","left":"1113px","-webkit-transition-duration":".5s"});
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${Btn4}", "click", function(sym, e) {
sym.getParentSymbol().stop("Se4");
sym.$("icon1").show();
sym.$("icon2").show();
sym.$("icon3").show();
sym.$("icon4").hide();
sym.$("icon5").show();
sym.$("Ellip").css({"top":"1329px","left":"1076px","-webkit-transition-duration":".5s"});
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${Btn3}", "click", function(sym, e) {
sym.getParentSymbol().stop("Se3");
sym.$("icon1").show();
sym.$("icon2").show();
sym.$("icon3").hide();
sym.$("icon4").show();
sym.$("icon5").show();
sym.$("Ellip").css({"top":"1296px","left":"996px","-webkit-transition-duration":".5s"});
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${Btn1}", "click", function(sym, e) {
sym.getParentSymbol().stop("Se1");
sym.$("icon1").hide();
sym.$("icon2").show();
sym.$("icon3").show();
sym.$("icon4").show();
sym.$("icon5").show();
sym.$("Ellip").css({"top":"1429px","left":"879px","-webkit-transition-duration":".5s"});
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${Btn2}", "click", function(sym, e) {
sym.getParentSymbol().stop("Se2");
sym.$("icon1").show();
sym.$("icon2").hide();
sym.$("icon3").show();
sym.$("icon4").show();
sym.$("icon5").show();
sym.$("Ellip").css({"top":"1333px","left":"912px","-webkit-transition-duration":".5s"});
});
//Edge binding end
Symbol.bindElementAction(compId, symbolName, "${close}", "click", function(sym, e) {
sym.$("close").css({"top":"0px", "-webkit-transition-duration":".5s"});
sym.$("rec").css({"-webkit-transform":"scaleX(0)", "-webkit-transition-duration":".5s"});
sym.getParentSymbol().$("barBottom").css({"top":"1420px", "-webkit-transition-duration":".5s"});
sym.getParentSymbol().$("sections_bar").css({"left":"-2048px", "-webkit-transition-duration":".5s"});
//sym.getParentSymbol().getSymbol("sections_bar").deleteSymbol();
});
//Edge binding end
})("sections_bar_1");
//Edge symbol end:'sections_bar_1'
})(window.jQuery || AdobeEdge.$, AdobeEdge, "EDGE-41913470");
我使用Marcus Westin创建的webViewJavaScriptBrige
并使用此代码从objective-c
调用函数[webView stringByEvaluatingJavaScriptFromString:@"$('#Stage_Btn2').click()"];
但是我无法采取任何行动,所以如何调用此文件上的任何功能