According to the swf documentation from Adobe, you should be able to read the individual bytes of a swf to calculate the files size, file dimensions (width and height), version and file type (swf or swc).
I am using javascript to read in the individual bytes and converting them to human readable information but I am running into problems when it comes to file dimensions.
My first question is does any one have a formula to convert from twips (twentieths of a pixel) to pixels? It would seem that dividing by 20 would work, but I am not positive.
My second question is has any one been able to get the file dimensions of a swf file using any language? I am using javascript but I would think that the byte order would be the same in any language.
Thanks