FlashDevelop4.1.0 RTM から導入された FlashConnect による CallCommand の例です。
test.as
FlashConnect.send(createCommandNode("Browse", "http://blog.bk-zen.com"));
private static function createCommandNode(command: String, ...args): XMLNode
{
var msgNode: XMLNode = new XMLNode(1, null);
var txtNode: XMLNode = new XMLNode(3, encodeURI(args.length == 0 ? "" : "" + args));
msgNode.attributes.command = command;
msgNode.attributes.cmd = "call";
msgNode.nodeName = "message";
msgNode.appendChild(txtNode);
return msgNode;
}