because in swf has all framework Flex
try this for optmizar your application
Adobe Certified Expert Flex 3 with AIR
Adobe Certified Expert Rich Internet Application Specialist v1.0
Adobe Certified Expert Flash CS3 Professional
Certified Professional Adobe Flex 2 Developer
Adobe Certified Professional Flash MX 2004 Developer
Manager AUGDF - Adobe User Group do Distrito Federal
why swf files size are big? (made by flex). Is this a general situation?
I used apple accordion in my site (but I changed it a little bit):
But swf file size is 300 kb. According to me, it should be max. 30-40 kb.
Flex is a framework, providing a lot of functionality (or, depending on how you look at it, bringing a lot of baggage). A swf size of 300kb is common (and, actually, on the small side). You could try using framework RSLs, but they're not a perfect fit (your users may still need to download them if they do not have them cached), and if you have really tight size constraints, a framework may not be the right thing for you (not just Flex, but any framework).