Comments on: Sending and receiving messages https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/ Cross-Domain Messaging made easy Thu, 20 Apr 2017 18:47:42 +0000 hourly 1 https://wordpress.org/?v=4.9.34 By: Emanuele Ciriachi https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1583 Thu, 12 Jun 2014 17:48:00 +0000 http://easyxdm.net/blog/?p=16#comment-1583 Can anyone point to a page with a more coincise example?

]]>
By: David Leonard https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1543 Sun, 15 Sep 2013 05:14:00 +0000 http://easyxdm.net/blog/?p=16#comment-1543 The example for provider should read:

var socket = new easyXDM.Socket({

onMessage:function(message, origin) {

// not here

}

});

// here
socket.postMessage(‘hello world’);

]]>
By: Stephen https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1542 Wed, 11 Sep 2013 15:51:00 +0000 http://easyxdm.net/blog/?p=16#comment-1542 This is one of the most confusing things I’ve ever read, everything from downloading this code to implementing it. Coming from a javascript expert. We need to include the easyXDM.js file on both the parent and the host?
Yet the easyXDM does a ‘document.write’ of like 10 scripts. Having that on all the cross domain hosts is unpleasant at best.

You’re telling me Twitter sends messages cross domain using their twitter button by including these 10 scripts? I find that hard to believe.

]]>
By: Desmond Nzuza https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1530 Wed, 17 Jul 2013 09:11:00 +0000 http://easyxdm.net/blog/?p=16#comment-1530 do you know if it slows things down if you have it specified even on browsers that are not I.E?

]]>
By: Tufik Chediak https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1365 Mon, 08 Apr 2013 22:41:00 +0000 http://easyxdm.net/blog/?p=16#comment-1365 What is … in your example, please:

var socket = new easyXDM.Socket({
…,
onMessage: function(message, origin){
alert(message);
}
});

]]>
By: creppie https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1239 Thu, 17 Jan 2013 13:42:00 +0000 http://easyxdm.net/blog/?p=16#comment-1239 Could use work but these examples are functional.  That’s good enough for me.  Up and running in an hour or so for my proj!

]]>
By: User https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1170 Tue, 13 Nov 2012 02:45:00 +0000 http://easyxdm.net/blog/?p=16#comment-1170 Totally agree.

]]>
By: Frustrated Reader https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1164 Wed, 31 Oct 2012 19:15:00 +0000 http://easyxdm.net/blog/?p=16#comment-1164 Anyone else think the referenced example is terrible? It just links you to a webpage that happens to use easyXDM. There are no pointers to the code that was implemented. The reader is left to slog through the page source to figure it out. How about just listing the relevant code on the page???

]]>
By: Spoike https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1065 Tue, 08 May 2012 10:34:00 +0000 http://easyxdm.net/blog/?p=16#comment-1065 For the IE6/7 browsers messaging is implemented using FlashTransport. This is why you need to specify where the easyxdm.swf file is.

]]>
By: Anonymous https://easyxdm.net/wp/2010/03/17/sending-and-receiving-messages/comment-page-1/#comment-1017 Sun, 19 Feb 2012 01:14:00 +0000 http://easyxdm.net/blog/?p=16#comment-1017 I don’t quite understand why setting
swf: “../easyxdm.swf”.
Anyone can tell me why?

]]>