Preloader in AS3 projects (factoryClass)
November 20th, 2007 | Posted by in ActionscriptThe last days I was playing around with the Flex Metadata Tag “Frame” to implement a preloader in an AS3 project. You might have read Keith Peters post concerning this issue. This method is working fine, except of the fact that I can’t get rid of the flex framework classes in my compiled SWF, which blows up the size of an nearly empty SWF to 120kb.
If you check out the comments in his post, you’ll find a few solutions, but none of them worked for me. So I generated a XML exclude File, that excludes the whole flex framework. You might want to give it a try: flex_framework_exclude.xml (compile with the option -load-externs+=flex_framework_exclude.xml). It’s still not satisfying, but it’s working…
You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.




This solution is working for me (your updated blog posting ( http://www.nulldesign.de/2007/11/30/as3-preloading-continued/ ) does not work for me using flex3.3, I am not sure why).
I am hoping you can explain how you made / found your flex_framework_exclude.xml file? I want to make sure I can generate new ones when flex is updated.
Thanks much.
Pingback: AS3 Application Preloading « Ghost23 Blog
Pingback: AS3 Application Preloading – translated « Ghost23 Blog