Flash app depends on Flex. Are there any SWF bytecode size optimizers?
问题 Hello world application that uses Flex, compiled with optimize=true has size 178K. How to reduce application size? We do not like to use RSL, we don't like to avoid Flex. Largest part of resulting SWF is unused bytecode. Are there any tools to optimize bytecode — drop unused methods, classes, give methods shorter names and so on? I know some such tools for Java bytecode. Any there any for SWF? 回答1: The size is the cost of the Flex API. You don't get to pick and choose which parts are compiled