Awesome! I've updated my projects with the SVN SWC, and my plain AS3
projects are MUCH smaller now!
@Animesh: The older version wouldn't necessarily add 160kb to Flex
apps - that was just for AS3 apps where portions of the Flex framework
were being pulled in.
@Josh: Great work. Plain AS3 apps using the SWC will be much smaller
now. The only Flex dependencies remaining (if one were to include the
SP source instead of the SWC in an AS3 project) are:
impl.live.SourceEntry (due to mx.binding.utils.ChangeWatcher)
utils.Reflection (due to mx.utils.DescribeTypeCacheRecord)
utils.SimpleTraceLogger (due to mx.logging.ILogger and LogEventLevel)
But those might be impossible to work around - besides, using the SWC
is perfectly fine, so probably wouldn't be worth the effort anyway.
Many thanks,
Cheers,
shaun
On Mar 27, 10:41 am, Josh McDonald <
j...@joshmcdonald.info> wrote:
> When I started optimizing it this afternoon, it was adding 36kb - the
> difference would be that I replaced a reference to UIComponent with a
> reference to DisplayObject few days ago. It's now down to just under 16kb.
>
> I've committed the updated sources, and there's a .swc checked in, but not
> up in the "download" link on the google-code homepage.
>
> -Josh
>
> 2009/3/27 Animesh Jain <
anim...@itasveer.com>
>
>
>
> > Pretty cool! I never realized SmartyPants could add ~160kb to the size of
> > an app. So this means with the newer release it should go down to 20 odd kb?
>
> > Animesh
>