swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] png2swg not displaying first image in loop


From: Mark Lane
Subject: Re: [Swftools-common] png2swg not displaying first image in loop
Date: Wed, 06 Jul 2005 16:31:57 -0600
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

Matthias Kramm wrote:
On Wed, Jul 06, 2005 at 02:56:29PM -0600, Mark Lane wrote:

Okay so I am testing png2swg and it isn't displaying the first image file listed in the png2swg when running in FireFox with Flash 7 under FC4. Any ideas? I can work around this by listing that file twice but that just makes a bigger swf file.


AFAIK, that's a flash player problem. The player sometimes skips the
first frame when playing SWF files.
You could try to start the file with an empty frame, that would only increase
the filesize very slightly.

Okay I fixed it so it is no longer skipping the first png. There was a little if statement that printed out an error that wasn't in jpeg2swf.c as well so I commented it out and it seems to work better but I am not sure exactly why it works.


--
Mark Lane, CET <address@hidden>
Sales Manager, Hard Data Ltd. <http://www.harddata.com>
11060 166 Ave, Edmonton, Alberta, T5X 1Y3
Phone: 01-780-456-9771 Fax: 01-780-456-9772
############## Check Out Our New Laptops ##############
--- swftools-0.6.3/src/png2swf.c.old    2005-07-06 16:23:44.000000000 -0600
+++ swftools-0.6.3/src/png2swf.c        2005-07-06 16:24:23.000000000 -0600
@@ -903,11 +903,6 @@
 
     processargs(argc, argv);
     
-    if(global.nfiles<=0) {
-       fprintf(stderr, "No png files found in arguments\n");
-       return 1;
-    }
-
     if (VERBOSE(2))
        fprintf(stderr, "Processing %i file(s)...\n", global.nfiles);
 

reply via email to

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