Learn the notes of ActionScript axu

Source: Internet
Author: User

Today, I am working on a blog system, using the Avatar upload function, and using flash for implementation. Actionscript3 is not well received, so I wrote several diaries in my study.

1. The As script file is associated with the FLA file. The As script file under the FLA directory is automatically loaded. You can also choose "menu file"> "Settings"> "add path" to associate the as files in more folders.

2. Enable the FLA file to automatically execute the as class selection menu: file-> ActionScript settings-> Add "document class". Enter the relevant class name to load the SWF, class in the specified as is initialized.

3. How to Write a control using the As script to write a class, inherit Sprite and movieclip. And draw the interface and add events.

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.