Key Points of flash component development page 1/2

Source: Internet
Author: User

The purpose of developing components is to encapsulate applications that can be reused.ProgramBlock to reduce meaningless repetitive coding and improve development efficiency.

Recently, I have studied the V2 component of flash8 and sorted out some basic knowledge about component production.

1. Some classes that must be clear

The object class is a base class, so all other classes are derived from it. for this class, we need to focus on the usage of reisterclass. This method can associate classes and components. Generally speaking, it is to assign some methods and attributes of classes to component objects, this method serves the same purpose as setting class binding in the library.

Listening and broadcasting mechanisms and delegation mechanisms must be familiar. This mechanism is the best choice for large-scale flash development projects.

2. architecture of the flash8 V2 component

This is the architecture of the flash8 V2 component. All custom components must be inherited from the movieclip class. The flash8 help document contains detailed steps for making components.

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.