Can I used easyXDM for single-domain window to window communication
<p>easyXDM looks to have a great message transport system, the bridge example in the GIT documentation is overly complicated involving 3 or 4 HTML files. 
Can simple Window to Window communication be done, with a child and parent window on the same domain, with IE8 compatibility etc?</p>

<p>Help need a easyXDM expert - (This code doesn't work)</p>

<pre><code>&lt;! doctype html&gt;
&lt;html&gt;
 &lt;head&gt;
       &lt;!-- index.html --&gt;
   &lt;title&gt;postmessage Test&lt;/title&gt;
       &lt;script type="text/javascript" src="easyXDM.debug.js"                                                           &lt;/
script&gt;
       &lt;script type="text/javascript"&gt;
easyXDM.DomHelper.requiresJSON("json2.js");             &lt;/script&gt;

   &lt;script type="text/javascript"&gt;
       var target;

       target = window.open("http://localhost/child.html",'popupWindow');

       var socket = new easyXDM.Socket({
               swf: "easyxdm.swf",
               onMessage: function(message, origin){
                       alert("Received '" + message + "' from '" + origin + "'");
               }
       });
       &lt;/script&gt;

 &lt;/head&gt;
 &lt;body&gt;
       Parent Window&lt;br/&gt;
   &lt;button class="send-button" onclick="socket.postMessage('Msg from
Parent');"&gt;Post message&lt;/button&gt;

 &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<hr>

<pre><code>&lt;! doctype html&gt;
&lt;html&gt;
 &lt;head&gt;
       &lt;!-- child.html --&gt;
   &lt;title&gt;postmessage Child&lt;/title&gt;
       &lt;script type="text/javascript" src="easyXDM.debug.js"                                                           &lt;/
script&gt;
       &lt;script type="text/javascript"&gt;
easyXDM.DomHelper.requiresJSON("json2.js");             &lt;/script&gt;

   &lt;script type="text/javascript"&gt;

       var socket = new easyXDM.Socket({
               remote: "http://localhost/",
               swf: "easyxdm.swf",
               onMessage: function(message, origin){
                       alert("Received '" + message + "' from '" + origin + "'");
               }
       });
       &lt;/script&gt;

 &lt;/head&gt;
 &lt;body&gt;
   Popup Window&lt;br/&gt;
   &lt;button class="send-button" onclick="socket.postMessage('Msg from
child');"&gt;Post message&lt;/button&gt;

 &lt;/body&gt;
&lt;/html&gt;
</code></pre>
