As3 Microsoft performance database development diary (1)

Source: Internet
Author: User

Recently, I plan to use as3 code and the tweenlite library to implement the animation effect in Microsoft PowerPoint. I can see that most of the effects are not hard to achieve, but there are more than 100 effects in total, with a huge workload, it is estimated that one or two results can be written every day for a long-running war. It is planned to be completed in installments in a spare time of about two months. The first phase of the plan to complete the most commonly used 50 results.

Results To be completed in the first phase

Currently, the interface class animation provides two methods: initialization () and play (). Microsoft animations are roughly divided into four types: entrance, emphasis, exit, and motionpaths, each has four packages. Then, each package has a base class with the same name as the package to implement the animation interface, and provides some common methods and call structures for the following sub-classes. At last, each specific effect is the subclass of these base classes. If necessary, you can rewrite the methods of the parent class to implement specific functions. You can input JSON parameters for configuration for each specific effect, which also draws on the practices of some recently used jquery plug-ins.

 

Although I also feel that this framework is too weak, not perfect, and redundant, it may not be fully considered in many places, but it should be improved and improved with the development.

 

Currently, 13 types of entrance animations are completed, and you are ready to stop for a code review, refactor the code, and delete useless duplicate code.

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.