It must be possible? Anyone have an answer?
I am also trying to do this, with no success.
Anyone out there who's figured it out?
var iframe2=window.frames["framename"].document.getElementById ( "Stage_yourelementid" );
this should work
Thanks for the reply.
But this doesn't work within an Edge element, you'd need to getComposition of the child Edge within the iFrame.
The closest I've been able to work out and should look something like...
var iframe2 = sym.getSymbol("box").$("#Mycontainer").getComposition("EDGE-190900287").getStage();
//"box" is the div (within edge) which contains the iframe
//"#Mycontainer" is the iframe id referenced... i.e. sym.$("box").html("<iframe id='Mycontainer' src='mypage.html'></iframe>");
//"EDGE-190900287" is the class referenced needed to getComposition of the Edge child of the iFrame
Across the gulf of space with Adobe minds immeasurably superior to mine, it does not work.
$('#Mycontainer') .contentWindow.AdobeEdge .getComposition('EDGE-190900287').getStage() .stop('t3_zoom_in');
use "contentWindow" for access to iFrame-window.
Yes! Thank you Ume, that works.
Hi, can I do the opposite? I want to access the main edge symbol from the edge inside the iframe.