[osflash] Know how many kb each class adds to the SWF when compiling with MTASC
João Saleiro
joao.saleiro at webfuel.pt
Thu Aug 3 18:40:59 EDT 2006
Exactly Ralf, probably i'm a controlfreak too ;). Sometimes I wish I could
know where to cut some code to reduce SWF size. Especially when using third
party libraries, it is important to know the overhead that each loaded
library will add to the SWF. :)
João Saleiro
-----Original Message-----
From: osflash-bounces at osflash.org [mailto:osflash-bounces at osflash.org] On
Behalf Of Ralf Bokelberg
Sent: quinta-feira, 3 de Agosto de 2006 23:25
To: Open Source Flash Mailing List
Subject: Re: [osflash] Know how many kb each class adds to the SWF when
compiling with MTASC
Maybe optimzing?
Eg. do i really need this big lib, which adds 400k to my app, or am i better
of to write the functions is need on my own? Maybe i'm a controlfreak though
:)
Cheers,
Ralf.
On 8/4/06, Bob Ippolito <bob at redivi.com> wrote:
> Not necessarily.
>
> I don't really understand why this feature is useful. You might as
> well measure the file size of the .as or the number of lines or
> something like that. If you need code for the app to work, it doesn't
> really matter how big it is does it?
>
> -bob
>
> On Aug 3, 2006, at 2:40 PM, Scott Hyndman wrote:
>
> > Would the percentage size of a single class file with respect to the
> > entire uncompressed build be proportionate to that of its compressed
> > counterpart?
> >
> > For example,
> >
> > Uncompressed:
> > class A - 2k
> > entire build - 10k
> >
> > Compressed:
> > class A - 1k
> > entire build - 5k
> >
> > See what I'm getting at? I don't really know anything about
> > compression, so forgive me if this sounds ignorant.
> >
> > Scott
> >
> > On 03/08/06, Ken Rogers <krogers at iwin.com> wrote:
> >> That would be fantastic. Thanks for asking this question, as I was
> >> wondering the same. I would immediately gain a lot from this small
> >> feature. :D -Ken
> >>
> >> Ralf Bokelberg wrote:
> >>> Good question.
> >>> I could add an option to display the size of each compiled class,
> >>> eg.
> >>> soemthing like sizeReport in Flash,
> >>>
> >>> Cheers,
> >>> Ralf.
> >>>
> >>> On 8/3/06, João Saleiro <joao.saleiro at webfuel.pt> wrote:
> >>>
> >>>>
> >>>>
> >>>> Hi people,
> >>>>
> >>>>
> >>>>
> >>>> Is there a way to compile on MTASC and know exactly how many kb
> >>>> each class adds to the swf?
> >>>>
> >>>>
> >>>>
> >>>> Thanks,
> >>>>
> >>>>
> >>>>
> >>>> João
> >>>> _______________________________________________
> >>>> osflash mailing list
> >>>> osflash at osflash.org
> >>>> http://osflash.org/mailman/listinfo/osflash_osflash.org
> >>>>
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>
> >>
> >> _______________________________________________
> >> osflash mailing list
> >> osflash at osflash.org
> >> http://osflash.org/mailman/listinfo/osflash_osflash.org
> >>
> >
> > _______________________________________________
> > osflash mailing list
> > osflash at osflash.org
> > http://osflash.org/mailman/listinfo/osflash_osflash.org
>
>
> _______________________________________________
> osflash mailing list
> osflash at osflash.org
> http://osflash.org/mailman/listinfo/osflash_osflash.org
>
--
Ralf Bokelberg <ralf.bokelberg at gmail.com> Flex & Flash Consultant based in
Cologne/Germany
_______________________________________________
osflash mailing list
osflash at osflash.org
http://osflash.org/mailman/listinfo/osflash_osflash.org
More information about the osflash
mailing list