List Info

Thread: Is there a limit on number of clips that can be imported into a single frame?




Is there a limit on number of clips that can be imported into a single frame?
user name
2008-04-30 23:04:00
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
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Re: Is there a limit on number of clips that can be imported into a single frame?
user name
2008-05-01 10:26:50
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
> swfmillosflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org


_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: Is there a limit on number of clips that can be imported into a single frame?
user name
2008-05-01 10:42:10
Thanks for trying it out Ralf. Oddly enough this problem
does not
occur when I compiled the 0.2.12.2 from source both on linux
and on
windows/cygwin with the latest versions of libxml, libxslt,
freetype
and libpng. I suppose the problem might be with the versions
of
libxslt/libxml or a combination of both that are linked
statically in
the windows binary download. I can confirm the occurrence of
this
crash on multiple machines with different mp3/jpeg files.

Also, it would be a great help if you can share the build
instructions
on windows (using mingw, I assume) that does not require the
installation of the cygwin environment.

On Thu, May 1, 2008 at 8:26 AM, Ralf Fuest
<ralf-fuestgmx.de> wrote:
> 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
>  > swfmillosflash.org
>  > http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>
>  _______________________________________________
>  swfmill mailing list
>  swfmillosflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org
Re: Is there a limit on number of clips that can be imported into a single frame?
user name
2008-05-01 12:23:52
You can also try my latest windows build. You can find it
here:
h
ttp://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip

I don't have build instructions for the windows build. I'm
cross
compiling the windows build using mingw in linux. Perhaps I
write build
instructions for it when I setup a windows cross compile
environment on
my new PC, it shouldn't be to different from compiling in a
mingw/msys
environment.

Ralf

> Thanks for trying it out Ralf. Oddly enough this
problem does not
> occur when I compiled the 0.2.12.2 from source both on
linux and on
> windows/cygwin with the latest versions of libxml,
libxslt, freetype
> and libpng. I suppose the problem might be with the
versions of
> libxslt/libxml or a combination of both that are linked
statically in
> the windows binary download. I can confirm the
occurrence of this
> crash on multiple machines with different mp3/jpeg
files.
> 
> Also, it would be a great help if you can share the
build instructions
> on windows (using mingw, I assume) that does not
require the
> installation of the cygwin environment.



_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Re: Is there a limit on number of clips that can be imported into a single frame?
user name
2008-05-01 12:34:31
Thank you very much. That fixed the problem!

On Thu, May 1, 2008 at 10:23 AM, Ralf Fuest
<ralf-fuestgmx.de> wrote:
> You can also try my latest windows build. You can find
it here:
>  h
ttp://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip
>
>  I don't have build instructions for the windows build.
I'm cross
>  compiling the windows build using mingw in linux.
Perhaps I write build
>  instructions for it when I setup a windows cross
compile environment on
>  my new PC, it shouldn't be to different from compiling
in a mingw/msys
>  environment.
>
>  Ralf
>
>
>  > Thanks for trying it out Ralf. Oddly enough this
problem does not
>  > occur when I compiled the 0.2.12.2 from source
both on linux and on
>  > windows/cygwin with the latest versions of
libxml, libxslt, freetype
>  > and libpng. I suppose the problem might be with
the versions of
>  > libxslt/libxml or a combination of both that are
linked statically in
>  > the windows binary download. I can confirm the
occurrence of this
>  > crash on multiple machines with different
mp3/jpeg files.
>  >
>  > Also, it would be a great help if you can share
the build instructions
>  > on windows (using mingw, I assume) that does not
require the
>  > installation of the cygwin environment.
>
>
>
>
>
> _______________________________________________
>  swfmill mailing list
>  swfmillosflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>

_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )