11
did you try?
top.frames['my_frame'].myFunc();
You can select the iFrame using its id
document.getElementById(iframeId).contentDocument
but I am not sure you can access its JavaScript, especially if child iFrame is from different domain