I have a pure Actionscript 3 project, using flash.* libraries, compiles down to about 6k (using mxmlc). Program handles about 1k shapes, a few sprites, a sockets connection, works great (tastes less filling).
Now, how would I add a ComboBox control without incurring excessive bloat?
More specificially, I would like to keep the size under 100k.
So far I have tried:
- Adobe mx.controls ComboBoxexample – simple mxml example compiles to 200+k both on my main Linux Box using mxmlc and in Windows using Flash Builder 4
- Yahoo Astra – uses mx libraries underneath(so as bloated as Adobe?), plus does not contain exact ComboBox
- Keith Peter’s MinimalComps – seems small, but far from providing ComboBox functionality
- SPAS (Swing Package for Actionscript) – compiles to 130k, but alpha version of ComboBox does not let me adjust height…
- asuilib – compiles to 40k, unfortunately this ComboBox does not provide for scrolling items…if it does not fit on screen no way to scroll to it
Now my questions:
- Is there a way to lower size for projects importing mx.controls ?
- Maybe there is a way to fix SPAS or asuilib ComboBoxes?
- Perhaps, there are some other libraries which provide a ComboBox(or DropList)?
I’m the SPAS 3.0 developer, so I’ll try to give you some (useful?) answers.
>confusing licence
SPAS 3.0 is not totally free, but it is (always will be) free to use. This is the Java API License. It means that you can use this API the way you want, but you cannot change or sell SPAS 3.0 source codes.
>apparently one developer
You’re right! I’m currently working to get partnerships for giving SPAS 3.0 a “real long term viability”.
>some functionality missing, bugs apparent in alpha
Right too 😉 I know that many developers have been disapointed by the API, because of this choice.
So, if anybody has some issues concerning bugs or missing functionalities, feel free to contact me. I always answer questions about SPAS 3.0.
Pascal