swftools-common
[Top][All Lists]
Advanced

[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

Hello!

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
  .action:
      var shapes = [...lots of data...];
  .end
.end

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]