TAILIEUCHUNG - O’Reilly Programming Flex 2 phần 2

Vừa rồi Flex sau nhiều trì hoãn mới bổ sung Spark Datagrid nhưng mấy đặc tính nhiều hứa hẹn như smooth scrolling vẫn cứ giật giật, chưa thực sự thuyết phục. Một số thuộc tính như padding bị phức tạp hóa không cần thiết trong khi chỉ cần như Flex 3 đã là quá đủ. | Using incremental builds By default when you compile from the command line mxmlc compiles a clean build every time. That means that it recompiles every source file even if it hasn t changed since you last compiled. That is because by default mxmlc doesn t have a way of knowing what has changed and what hasn t. There are times when a clean build is exactly the behavior you want from mxmlc. However in most cases you ll find that it s faster to use incremental builds. An incremental build is one in which the compiler recompiles only those elements that have changed since you last compiled. For all other elements it uses the previously compiled versions. Assuming not much has changed since the previous compile an incremental build can be much faster than a clean build. If you want to use incremental builds you need a way to determine what things have changed between builds. When you set the -incremental option to true mxmlc writes to a file in the same directory as the target file you are compiling and it shares the same name. The name of the cache file is TargetFile_ .cache in which the is a number generated by the compiler. For example the following might write to a file called where the number is determined by the compiler mxmlc -incremental true -file-specs Storing compiler settings in configuration files Although it is undoubtedly great fun to specify compiler options on the command line you can also store settings in configuration files. You can then specify the configuration file as a single option from the command line. The load-config option lets you specify the file you want to load to use as the configuration file mxmlc -load-config By default mxmlc uses a configuration file called located in the frameworks directory of the SDK or Flex Builder installation. If you specify a value for the load-config option that can override the . Many

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.