One of the ways to communicate with C #
Flash.system.fscommand (command:string, args:string= ""): void,
command a string that is passed to the host application for any purpose, or one of the commands passed to Flash Player.
The string that args passes to the host application for any purpose, or a value passed to Flash Player.
If you are sending two or more requests at the same time, you need to be aware of a problem, such as
Fscommand ("cmdName1");
Fscommand ("cmdName2");
Or
Fscommand ("cmdName1", "123");
Fscommand ("CmdName2", "123");
In this case, C # can only receive a request, the problem is in args, while sending (concurrent) two or more than two requests, carry the args parameter can not be the same, if not sent at the same time, there is no effect.
Write this, just for the record.
[ActionScript 3.0] Communication methods with C # Fscommand