I'm lookig for any pointers to optimising a flex project for publication including the use of runtime shared libraries, the use of dynamically loading swf's, text files, AMF versus SOAP, issues server side as well as client side. Any all tips/hints welcome. In particular, I'm aware in a Flexbuilder project all files
in src/asset folder get published to a bin-release folder. My question is, in the case of files that are not used in your project, eg graphic files in your asset folder you may have imported but not referenced in your application, do these files somehow get included in your published swf or are they ignored on publication of your swf. If the latter, no problem, if the former, I should make sure to trim out those files before publication?
If you embed the images, they will be compiled into the app SWF. If you reference the images via URL, they will not be compiled into the app SWF, and you are responsible for uploading them to the server in the correct relative location.
For RSL, modules, etc. you need to upload them to the proper location on the server, they will not be in the compiled SWF.
Thanks for those important points!