Considerations for Flash nesting loading

Source: Internet
Author: User

Flash nested loading in the relatively large flash project when the encounter, the main problems encountered there are several:

1. AS2 and AS3 compatibility issues. Because AS2 is a scripting language developed by Macromedia, it is functionally powerful but loosely structured. AS3 is a scripting language developed after the acquisition of Flash from Macromedia Company by Adobe, which is more powerful and structurally better, however, because of the differences in development teams, development concepts, development goals, and the virtual machines that run scripts, Cause AS2 load AS3 or AS3 load AS2 encounter a lot of strange problems, these problems can be resolved by adjusting the release settings, some must modify the code, even through the rewrite to solve.

2. AS3 load AS3, generally do not encounter problems, if you encounter the prompt to load the movie is empty, generally caused by two reasons. (1) The sub-movie does not load the end of the display to the screen, this error solution is to add the loading complete event, as follows Loader.addeventlistener (event.complete, loading); (2) If the problem still does not work, it is likely that the parent movie and sub-movie class name is the same, although this situation is not easy to happen, but often the most difficult to find the cause. For example, the parent movie class uses class Main, the sub-film is also the class main, the solution is very simple, modify the parent or child's class name and related information can be.

This article is from the "8403723" blog, please be sure to keep this source http://8413723.blog.51cto.com/8403723/1723409

Considerations for Flash nesting loading

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.