You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by jo...@apache.org on 2010/12/16 04:21:53 UTC

svn commit: r1049774 - /shindig/trunk/features/src/main/flex/Main.as

Author: johnh
Date: Thu Dec 16 03:21:52 2010
New Revision: 1049774

URL: http://svn.apache.org/viewvc?rev=1049774&view=rev
Log:
Rename callback methods for relay SWF. TODO: build this and commit.


Modified:
    shindig/trunk/features/src/main/flex/Main.as

Modified: shindig/trunk/features/src/main/flex/Main.as
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/flex/Main.as?rev=1049774&r1=1049773&r2=1049774&view=diff
==============================================================================
--- shindig/trunk/features/src/main/flex/Main.as (original)
+++ shindig/trunk/features/src/main/flex/Main.as Thu Dec 16 03:21:52 2010
@@ -63,7 +63,7 @@ class Main {
       var sending_lc:LocalConnection = new LocalConnection();
       receiving_lc.receiveMessage = function(to:String, from:String, channel:String, message:String) {
         if ((to === "*" || to === origin) && channel === this_channel) {
-          ExternalInterface.call("gadgets.rpctx.flash.receiveMessage", channel, message, from, to);
+          ExternalInterface.call("gadgets.rpctx.flash._receiveMessage", channel, message, from, to);
         }
       }
 
@@ -73,7 +73,7 @@ class Main {
       } );
       receiving_lc.connect(this_channel + "_" + role);
     } );
-    ExternalInterface.call("ready");
+    ExternalInterface.call("gadgets.rpctx.flash._ready");
   }
   
   public function Main() {