A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Detect Width and Height from File Header?

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    1

    Detect Width and Height from File Header?

    I would like to programitcally determine the height and width values of any arbitrary SWF file, simply by opening the file and examining the header (or wherever). This is easy to do in formats like GIF. Is it possible in SWF's? Purpose is to enable auto-creation of OBJECT tag, even when no other information is available.

    Thanks,

    Randy

  2. #2
    Registered User
    Join Date
    Feb 2001
    Posts
    13,041
    Hi,

    have a look at my swf analyzer at www.fontimages.org.uk - it can do that ... and much more
    BTW: I got the size detection written in php and perl as well - however with an arbitrary swf file you should be prepared to handle compressed swf6

    Musicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center