[ActionScript 3.0] Communication methods with C # Fscommand

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.