I need to control over one of my edge Symbols, from my HTML page (index.html - not the edgeActions.js page)
For example, I have an image Symbol: "sym1", and I want to hide it from the main html page. I tried:
sym.$( "sym1" ).hide();
But it doesn't work..
That's the only way I could make it work (In edgeActions page only):
Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
var ex1 = sym.$( "sym1" );
yepnope({
both: [
"libs/jquery-ui.min.js",
"libs/jquery-ui.css",
],
callback: function() {
( ex1 ).hide();
}
});
});
I need to understand how can I control the symbol from the main html page with JQuery.