swftools-common
[Top][All Lists]
Advanced

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

Re: [Swftools-common] swfdump -X & -Y


From: lists
Subject: Re: [Swftools-common] swfdump -X & -Y
Date: Tue, 11 Sep 2012 20:03:05 +0200

On Tue, 11 Sep 2012 18:03:50 +0200
Assaf Paneth <address@hidden> wrote:
 
> Does anyone know what the results of swfdump -X , swfdump -Y are
> based on? And how it works? When I parse the stage size as specified
> in
> http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf,
> I get different results, and swfdump's gives results that fit my
> system's needs better.
> 
> Thanks,
> Assaf.

swfdump gives you pixels.

Compare the result of,

   swfdump -X -Y  your.swf

with the corresponding values in the XHTML object tag,
given by,

   swfdump -E your.swf

As Section 1, page 11 of the SWF format document states,
by default, x, y, co-ordinates are normally referenced
inside the SWF, as Twips,

 http://en.wikipedia.org/wiki/Twips

The values you are seeing depend on exactly how you are
'parsing' your swf.

The rest of section 1, starting on page 11, gives you a
myriad of data types that you'll find for the various
SWF Tags.  Remember also that values, as can the whole
SWF be both compressed and uncompressed.

Since swfdump apparently gives you what you want.  For
now, at least, I'd save on the confusion and stick with
that! ;o)

HTH..

Regards,


Chris.



reply via email to

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