12/4/2009 6:06:25 AM
Title:
what is the differance between .swc and .swz file, and how we can link up it with flex project?
Hi,
Can anybody tell me what is the difference between .swc and .swz file in flex?
I know, how to create that file but how can I link up that to my project? So that I can reduce my file size?
Thanks,
Sachin
12/4/2009 6:50:41 AM
SWC files are common class files that can be used to encapsulate some class files.
SWZ is flex framework library which contains files required during run-time of flex application.They are downloaded if flash player has not downloaded it earlier.
For more information check this article. First and second points are regarding SWZ and SWC files and there use.
http://askmeflash.com/article/9/optimize-flex-swf-filesize-performance-loading
12/4/2009 7:01:49 AM
swz files are flex framework classes distributed by adobe. One loaded into flash player they can be used by any website without downloading again. which means if the swz file was already downloaded from some other website then the user does not need to download it again to run your application.
SWC files are class library created by user . This library is cached by browser. so this is downloaded once only until changed and cannot be shared by any other website because its your custom code and not a standard library of classes like swz file.