Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common Flex compiler parameters

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you what the common Flex compiler parameters are, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Summary of common Flex compiler parameters

Verbose-stacktraces

This Flex compiler parameter specifies that SWF includes the line number and file name in the runtime exception information, which makes the resulting SWF file larger, and SWF with verbose-stacktraces is different from the debug version of SWF.

Source-pathpath-element

To add other source code directories or files, you can use wildcards to add all files or subdirectories in the directory, or you can use + = to append new parameters to the default path, such as-source-path+=/Users/base/Project

Include-libraries

This Flex compiler parameter specifies that the SWF file is compiled into the program and links all classes and resources in the library to the SWF. This parameter is useful if your program needs to load other modules.

Library-path

Similar to the include-libraries option, but only references classes and resources for use by SWF, which keeps the SWF file manageable.

Locale

This Flex compiler parameter specifies the region property of the SWF file, for example, use-locale=es_ES to specify the SWF region as Spain

Use-network

This Flex compiler parameter indicates whether SWF can access network services or apply standard FlashPlayer permission policies. For example,-usenetwork=false specifies that SWF has local file system access but cannot access any network services. The default is true.

Frames.frame

Start the application resource broker flow, and then expose its interface through the ModuleManager class. In special cases, such as when resources have been introduced into the code but do not need to move resources to an external SWF file, this parameter can greatly reduce the application startup time, which is a very complex but useful parameter.

Keep-all-type-selectors

Make sure that all style information is compiled into SWF, even if the program is not used. This is important because it is possible that other components loaded by the program require this style information. The default value is false, which means that unused style information will not be compiled into SWF. After setting the compiler parameters, click the Apply button to save.

These are all the contents of the article "what are the common Flex compiler parameters?" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report