开发者

Does flash only compile what it needs to? Or does it always 'rebuild all'?

开发者 https://www.devze.com 2022-12-15 06:54 出处:网络
new to Flash - I have a main FLA that loads and runs my entire flash/AS3 project. It always seems to take the same amount of time (~3 minutes) no matter what code has changed. Does Flash have the con

new to Flash -

I have a main FLA that loads and runs my entire flash/AS3 project. It always seems to take the same amount of time (~3 minutes) no matter what code has changed. Does Flash have the concept of makefiles? Is it always rebuil开发者_开发技巧ding all of my code?


Yes, if you build within the Flash IDE, it builds the entire fla. For large projects, I break the project into different fla's, build them separately, and have the main fla dynamically load in other swf's.


If you trigger the compiler manually, you can specify the "-incremental" flag or use the fcsh (Flex Compiler Shell). I would never compile a serious project from within the Flash IDE.


In the Flash IDE it will always compile from the ground up.

In Flex, I believe the default behavior is to only compile MXML files that have changed. But I suppose it varies by project settings.

0

精彩评论

暂无评论...
验证码 换一张
取 消