[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] ActionScript + large arrays of numbers

From: Vladimir Slepnev
Subject: [Swftools-common] ActionScript + large arrays of numbers
Date: Tue, 17 Mar 2009 16:09:36 +0300


We use swc on win32 to compile lots of data (vector geographic
objects) into SWFs. The sources look like this:

.flash filename="9_124_87.swf" bbox=300x300 fps=50
.frame 1
      var shapes = [...lots of data...];

If shapes contains an array of 34 thousand numbers, swfc generates an
SWF that's too short and contains invalid bytecode. But if we insert
an [] element (empty array) between the numbers in the middle of the
array, everything works okay for some reason.

I didn't have much success digging through sources to diagnose the
error. Maybe someone could help?

Vladimir Slepnev
Moscow, Russia

reply via email to

[Prev in Thread] Current Thread [Next in Thread]