[swfmill] Is there a limit on number of clips that can be imported into a single frame?

Ralf Fuest ralf-fuest at gmx.de
Thu May 1 08:26:50 PDT 2008


I'm not able to reproduce your bug. I tried to import 105 jpeg files
(73MB) and 12 mp3 files (45MB). It worked without any problem.
Perhaps one of your source file is corrupt (or at least swfmill thinks
so) and this causes a crash.
Or there might be a problem with the windows version of swfmill, but
I've tried the windows binary with wine and it also produced the swf
file without a crash.
I think the number of imported objects is only limited by the range of
the object id (0-65535) inside the swf file. This limit is per file and
not per frame.

Ralf

> All,
> 
> I'm developing a swf application that displays jpg and mp3 files. I'm
> constrained by my requirements to generate a single swf file with
> embedded jpg and mp3.
> So I tried with swfmill to import these media files into a library
> (<bitmap> for jpg files and <sound> for mp3 files) and attach them by
> their linkage id in my Action Script file.
> 
> This works great for about 20 or so jpg + mp3 files (about 10mb).
> However when I try to import anymore files, swfmill crashes. The total
> file size of jpg+mp3 is about 16mb.
> Windows Debugger reports "Unhandled exception in swfmill.exe
> (MSVCRT.exe): 0xC0000005: Access Violation"
> 
> Are there are any limits on the number of bitmaps and sound entries
> that can be imported to a library within a single frame?
> I saw an earlier mail around 2006 in this list where someone had
> mentioned they struck and Upper limit on PNG file import but there
> were no solutions provided there.
> 
> I faced the same error with the windows stable release 0.2.12.2 and
> the pre release 0.2.12.4 though the pre release version was able to
> import a few more files before it crashed.
> 
> Thanks.
> 
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org




More information about the swfmill mailing list