3 Replies Latest reply on Apr 15, 2009 8:17 PM by run,ryan!

    Module to Application, Application to Module

    Devin Columbus

      Is the best a most efficiant way of communicating between application and module using an IModuleInterface Class for each module?

       

      // modules/interfaceexample/IModuleInterface
      package
      {
          import flash.events.IEventDispatcher;
      
          public interface IModuleInterface extends IEventDispatcher {
          
              function getModuleName():String;
              function setAdjusterID(s:String):void;
              function setBackgroundColor(n:Number):void;
          }
      
      }