Using RSL’s to cache framework libraries

31 January 2008 | AIR / Apollo,Blogroll,flash,flex | Tags: , ,

I’ve just switched from “merged into code” to “runtime shared” for framework.swc, datavisualisation.swc and rpc.swc.

This brings the mere application code size from 518KB down to a very good 188KB.

Only one issue popped up: You need to move up framework.swc under <Project>/Properties/Flex Build Path/Library Path/Flex 3 to be above datavisualisation.swc to properly resolve runtime loading dependencies.

Not doing so throws a runtime error:

VerifyError: Error #1014: Class mx.effects::TweenEffect could not be found.

Please see and feel the mapTech Demo


Leave a Reply