ASC2.0 and frame meta tag

Apparently, the new ActionScript 2.0 compiler no longer supports the old [frame] meta tag, which allows you to add preloaders to clean actionscript projects.

I checked this IntelliJ - switching "Prefer ActionScript Compiler 2.0 for clean ActionScript assembly configurations" makes the difference between the preloader created and executed, and the main instance is created and executed.

Googling does not give a result, so there is currently some way around this problem - use ASC2.0, but do you have the benefits of the Frame meta tags?

+3
source share
1 answer

This still works when using the mxmlc command-line tool;

 mxmlc Loader.as -frame=ContentFrame,Main 

(creates a 2-frame SWF, the first one has no name and contains Loader, the second is called ContentFrame and contains Main).

+2
source

Source: https://habr.com/ru/post/903253/


All Articles