using System; using System.IO; using System.Runtime.InteropServices; namespace FlashExtractor { /// /// Summary description for Class1. /// class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { //assume param 1 is the location of the shockwave file byte[] file = new byte[Marshal.SizeOf(typeof(swf))]; FileStream fs = File.Open(args[0], FileMode.Open, FileAccess.Read,FileShare.Read); int i=0; //go through the file byte by byte //could I have seeked this? while (i