astfilename = "c:\myflashfile.swf"
<!--#include file="swfparser.asp" -->
After I've done this, I will have access to the following variables:
This code can also be expanded to grab some addiitional information such as frame rate.
Update:
Some time after I created this article I came across another site who created
a VBScript class to accomplish the same task. Check out this user
tip on 4guysfromrolla.com.
Conversation
Just a quick note that this only works on Flash files up to version 5. In Flash 6, they implemented compression using the zlib format. If somebody comes up with a vbscript or javascript approach to decompress it, it should be easy enough to grab these parameters then.
hi all...
can u plz send a clear idea about how to find out the heigh and width parameters of uploaded files...
Thanks...
one line of code includes
if ucase(strTag) = "FWS" then isFlash=true
Well, a compressed flash file is "CWS", and you need gzip compression to uncompress everything from the 8th byte and on. Can you help us out with that?
I never got around to developing an ASP gzip decompressor. Creating one isn't something I'm interested in as ASP is certainly not as popular as it once was. Good luck with your project.
Hi,
I have checked the swf information reading code...Its not working for flash version 7...
PLease advice me.
Thanx & Rgds,
Prakash
I will use this code for flash games page on my sport web page.
Thank you very much.