Learn a little about the structure of the class in Flash (55) every day

Source: Internet
Author: User

Content: The class library encapsulates various methods and attributes. We only need to make good use of these class libraries.

 

The class library is a huge tool, as if an artist,FlashThe ability to implement various effects is based on these powerful class libraries, an artist with great expectations. Therefore, understanding the class library structure helps us understandFlashWonderful World.

 

FlashClass Library: divided into control package, event package, Network Package, media package, data packet, error package, information security package, system package, graphics package, etc. Various packages are responsible for different functions. Therefore, after learning about these packages, we need to know how these packages work.

 

Mini games: enjoy the process

Let's play a games with an eye-catching command: the rule of the game: The commander sends an instruction. When you hear the instruction, the gamers will execute the action according to the Command. If you cannot hear it clearly, you can report it to the commander, but if you do something wrong, you will be punished.

 

At the beginning of the game, three people played the game at the same time, namely Xiao Ming, Xiaohua, and Xiaohong.

The commander gave a response, each in place. The first action was "everyone smiled ". Xiao Ming, Xiaohua, XiaoHong laughed after hearing it. No foul in the first round of the game.

Second, do the push-ups. After hearing the instructions, Xiao Ming and Xiao Hong both did. Unfortunately, Xiao Xiaohua did not hear the instructions, so she stood there and reported it to the commander.

In the third round, turn to the opposite direction on the left. After the command is received, James did the wrong thing, and the rest were done right.

 

Speaking of this, what kind of inspiration can we get here? Think about it if you know it.

 

Tip: some event-driven issues are involved. Some Questions about listening.

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.