I have been trying to reduce the size of the XIFF library.
One biggest influence is with the Flex classes such as ArrayCollection.
By testing the following example
http://paazio.nanbudo.fi/tutorials/flash/xiff-chat-part-2-roster
Current trunk: 70.6 KB
ArrayCollection stripped: 33.2 KB
With this one
http://paazio.nanbudo.fi/tutorials/flash/xiff-chat-part-3-chat-room
Current trunk: 75.3 KB
ArrayCollection stripped: 38 KB
etc…
The functionality is kept approximately the same expect of course losing the easiness of ArrayCollection as the data provider.
This in my opinion should be done anyhow at the application level, library should provide only the needs related to XMPP.
The removal of mx classes will enable AS3 only projects and the possibility to use XIFF directly in Flash.
Attached is the patch for the current trunk of writing.
I am hoping this will create some discussion so I would see if this is the direction where the community wishes to go.
The patch also includes some merely cosmetic renames in order to follow more precisely the Flex Coding conventions, which is something we committers have considered to follow.
http://opensource.adobe.com/wiki/display/flexsdk/Coding+Conventions
remove-arraycollection.patch.zip (10660 Bytes)