From plugin A I want to run an action defined in plugin B. The action does not require an ActionContext so I am just dispatching the message like this:
var actionEvent:ActionInvocationEvent = new ActionInvocationEvent("com.xyz.newPolicy", null);
dispatchEvent(actionEvent);
When the message is dispatched I see the module for plugin B is run but the handler for the action in plugin B is not called.
If plugin B first runs the same action, then the above event dispatch from plugin A will work as expected.
Is there a supported method to run an action from plugin A that is defined in plugin B?
Thanks,
-Darrell