Aaron Johnson Now with 50% less caffeine!

Posted
28 May 2003 @ 10pm

Tagged
.NET, Rich Internet Applications

Flash Remoting Docs bug

Got an email from Scott who was trying to work with C# and Flash Remoting. He couldn’t get the “Creating an assembly that returns an ActionScript object” example to work from the FlashRemoting LiveDocs. Looks to me like the documentation is a bit off. From the documentation:

 public ASObject returnObject()
    {
      ASObject aso = new ASObject();
      aso.ASType = ”Calculator”;
      aso.Add(”x”, 100);
      aso.Add(”y”, 300);
      Flash.result = aso;
    }

should probably be:

 public ASObject returnObject()
    {
      ASObject aso = new ASObject();
      aso.ASType = ”Calculator”;
      aso.Add(”x”, 100);
      aso.Add(”y”, 300);
      return aso;
    }

Personal rant: I tried creating a Livedocs account, but for whatever reason, the account I created didn’t work… why does everyone make you create a username? Why not just use your email address?


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment

Sony Ericsson J2ME SDK The Java™ Specialists Newsletter