[mtasc] large static data and 32k limit

Ralf Bokelberg ralf.bokelberg at gmail.com
Fri Mar 9 23:28:03 CET 2007


Another way to get around it, is to use a framescript.
You can create it using swfmill or the flash ide
Cheers
Ralf.

On 3/9/07, Nicolas Cannasse <ncannasse at motion-twin.com> wrote:
> > So here's what I don't understand.  I've tried to cut down the array
> > just enough so that it compiles without hitting the 32K limit.
> > This results in a .swf file size of 4K, not 32K.  The actual source
> > file is just over 32K, but I thought that the limit had to do with
> > the compiled bytecode, not the source file size.  Can anyone explain
> > this?
>
> The SWF is compressed, and the 32K limit is in terms of uncompressed data.
>
> > Also, in an earlier message
> > (http://lists.motion-twin.com/pipermail/mtasc/2006-March/029523.html)
> > Nicolas said:
> >
> >> Typicaly, if the data contains only static variables, it will work.
> >
> > This in reference to removing the 32K check from mtasc.
> >
> > So if I remove the check when compiling a class that contains just
> > static data like above, can I expect mtasc to produce a good .swf?
>
> Yes.
>
> Nicolas
>
>
> --
> MTASC : no more coffee break while compiling
>


-- 
Ralf Bokelberg <ralf.bokelberg at gmail.com>
Flex & Flash Consultant based in Cologne/Germany
Phone +49 (0) 221 530 15 35



More information about the mtasc mailing list