raklos
raklos

Reputation: 28545

get the dimensions of a swf file from a .NET Program

is it possible to get the dimensions of a swf file from c#?

Upvotes: 7

Views: 2061

Answers (2)

sjlewis
sjlewis

Reputation: 780

Found this one that works w/ latest Flash (10); supports compressed swf, too.

Reader of SWF Header returns a negative height for me; does not support compressed swf.

Upvotes: 1

RvdK
RvdK

Reputation: 19790

You should read the fileheader and retrieve the width and height: here is an example

Upvotes: 2

Related Questions