The prompt function of the ActionScript code in FCS

Source: Internet
Author: User

Compile flashcomCodeIf reasonable naming rules are often used, you can use the code prompt function of flashmx 2004.
For example, the following naming method is used for the objects in flashcom when writing the FCS code. When editing the code, a code prompt is displayed after the vertex number is written after the object name, it contains the attributes and methods that can be used by this object, which is very practical.
We recommend that you name the end string of each object: 1: _ Cam camera object
2: _ Video video object
3: _ mic microphone object
4: _ SO jsonobject object
5: _ NC netconnect object
6: _ NS netstream object

There are many similar objects in Flash MX to provide code prompts.
Example: 1: _ Mc movieclip object
2: _ BTN Button Object
3: _ TXT text object
4: _ STR String object
5: _ date object
6: _ array object

Using these naming methods can bring a lot of convenience for coding ~

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.