views:

29

answers:

1

Hi all!

I have a some trouble with XUL.

<window id="main_window" title="app" accelerated="true" width="300" minwidth="500" height="500" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;
 <script src="chrome://app/content/js/run.js"></script>
 <browser id="main_browser_window" type="content" src="chrome://app/content/main_window.html" flex="1"/>
</window>

I want access from script described in HTML in browser, to objects which initialized in run.js.

How i can do this?

Thanks

A: 

window.parent :)

Ivan