Simple flash form, SWF size problem, AS3 and CS4?

If the CS4 UI components are too heavy for your liking then you'll have to use something else as there's no way to make them smaller. The alternative is to write your own lightweight components or try out something like MinimlComps.

Up vote 0 down vote favorite 1 share g+ share fb share tw.

I want to create a form in AS3, with CS4. So I created a new fla, I dropped a ComboBox, an InputText, a CheckBox and a Button. The size of the binary (SWF) is 42KB (compressed).

It is too much! I want to create a landing page and 42KB just for 4 components is too much. I need to cut the size, I can't stop using any of the components.

I was looking at the library trying to delete something and I found that the ComponentShim is where the code of the components is (that's what I understand). I looked the source file of a contact form in AS3, in the library there is no ComponentShim. Thanks in advance, any help is welcome.

Jonathan. Flash actionscript-3 flash-cs4 link|improve this question edited Sep 13 '11 at 8:19silverback1,1941413 asked Mar 2 '10 at 15:38Jonathan Barbero5741518 33% accept rate.

Well don't use flash. – Michael B. Mar 2 '10 at 15:40 which is 42kb?

The fla or the swf? – Erix Mar 2 '10 at 15:42 The binary, the SWF. With Compress Movie option checked, without it it's like 90 KB.

– Jonathan Barbero Mar 2 '10 at 16:11.

If the CS4 UI components are too heavy for your liking then you'll have to use something else as there's no way to make them smaller. The alternative is to write your own lightweight components or try out something like MinimlComps: code.google.com/p/minimalcomps/ Otherwise, if 42K is too much for you, reevaluate the need to use Flash for handling a form on your website.

This is for Flex. I'm using CS4 and Flash. – Jonathan Barbero Mar 2 '10 at 18:31 1 @Jonathan download the SWC file which is precompiled.

Just make sure to add the SWC to the class path (in publish settings/flash/settings) – Allan Mar 2 '10 at 23:42 MinimlComps is not for Flex. You can do what Allan said or add the source code to your project. They will work differently than the CS4 components, but thats because they are lighter and simpler.

– Matt W Mar 3 '10 at 23:31.

Finally, I used this library . It's not so great, it takes me some time to get it work, it's in AS2 (so I have to rewrite some code), but, it's lightweight. It's rare that the basic components of flash are not in the flash player runtime, this creates an overhead that is big if you want to do a banner with flash.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions