actionscript 3 - How big should a Flex SWF be? -


i've small flex4 project targeting flash 10, developed in flashdevelop. know flex swfs carry overheads plain as3 project, 240kb release build seems still lot - it? or realistic minimum?

in case it's relevant, flashdevelop builds project following (anonymized):

mxmlc -load-config+=obj\********.xml -incremental=true -benchmark=false -optimize=true -static-link-runtime-shared-libraries=true -o obj\***************** 

doesn't flash player include flex runtimes or sensible that?

the player not include flex framework. shouldn't. flex framework independent of player , if included player have include every version of framework use 1 each swf built against. solve framework different (as flash framework).

the resolution large swfs use framework runtime shared libraries. way player load shared library swf once specific framework version used , shared library used across swfs compiled against same framework version.

you can find more information here:

http://livedocs.adobe.com/flex/3/html/help.html?content=rsl_09.html

in practice, it's having framework in player, it's not pre-loaded. frameworks loaded needed.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -