Can ASP.NET read size and version properties of a Flash .swf file? RRS feed

  • Question

  • User-1905269489 posted
    Is there a way to read properties of a Macromedia Flash .swf file on my server with ASP.NET? For example, can I detect the version of flash player the file needs, and the size of the file's canvas in pixels? I know how to use System.Drawing.Image.FromFile and the System.Drawing.Image object's .Height and .Width properties to determine the size of a .jpg or .gif file on my server. I'm just hoping there's also a way to detect properties of an .swf file. Does anyone know? Thanks!
    Tuesday, August 24, 2004 10:58 PM

All replies

  • User-370879978 posted

    Hello, I am having the same issue. 

    Creating a System.Drawing.Image using the FromStream method with a Flash SWF file directory as the input parameter gives me a {"Parameter is not valid."} exception.  Any suggestions?



    Tuesday, September 22, 2009 2:33 PM