1 person found this helpful
By 'parent document' are you referring to multiple compositions? or Are you referring to multiple symbols in the same (parent) project?
FYI - here is an earlier thread that may provide some resolution - http://forums.adobe.com/thread/964882?tstart=30
Thanks for your response. I think I'm talking about multiple compositions.
The example would be accessing a div in the parent document that the animation has been imported into in Dreamweaver through Media import.
Hope that is clearer. Thanks.
I had a similar issue, the need to access a DOM element of the Dreamweaver index.html file from within the Actions panel of my Edge composition.
In my example, I have a <div> in the index.html with id="footer".
This is how I obtained a JQuery style reference to the element within the composition's Actions panel:
This allowed me to access attributes, like this: $("#footer", window.parent.document).html()... or you could assign it to a variable, like this: var myFooter = $("#footer", window.parent.document);
Hope that helps!
I used these code too. But this code didn't work in my edge file.
do you have any working edge file, for example? can you share it ?
var myFooter = $("#footer", window.parent.document);