王彬 程序员 王彬 ASP PHP C# .NET AJAX 笔记

我的PHP,.NET开源之路

 

 

FlashInfo flashInfo = new FlashInfo(@"c:test.swf"); // 构造函数,参数是Flash文件地址
Console.WriteLine(
string.Format("Version: ", flashInfo.Version)); // Flash版本
Console.WriteLine(
string.Format("Compressed: ", flashInfo.IsCompressed)); //是否被压缩
Console.WriteLine(
string.Format("Width: ", flashInfo.Width)); // Flash的宽度
Console.WriteLine(
string.Format("Height: ", flashInfo.Height)); // Flash的高度
Console.WriteLine(
string.Format("FrameRate: ", flashInfo.FrameRate)); // 帧速率
Console.WriteLine(
string.Format("FrameCount: ", flashInfo.FrameCount)); // 总帧数
Console.WriteLine(
string.Format("FileLength: ", flashInfo.FileLength)); // 未压缩时的文件大小

 

代码下载:https://files.cnblogs.com/wbcms/flashinfoclass.rar

posted on 2008-12-20 15:39  wangbin  阅读(219)  评论(0编辑  收藏  举报