1 Reply Latest reply on Mar 13, 2008 5:47 AM by SujitG


    Gene Godsey Level 1
      I am new with the whole messaging process and I was going through some training code and I do not understand how a message is sent or received.
      The language in the book is Producer and consumer.

      Here is a block of code that I am working with.

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml">
      import mx.messaging.messages.AsyncMessage;
      public function sendMessage():void{
      var message:AsyncMessage = new AsyncMessage();
      message.body = "body";
      <mx:Producer id="producer1" />

      Is there config file that I need to prepar for this to happen?

      Thanks in advance.