public static void ReadClipActionRecords(this ISwfStreamReader reader, byte swfVersion, IList <ClipActionRecord> target) { ClipActionRecord record; do { record = reader.ReadClipActionRecord(swfVersion); target.Add(record); } while (!record.Flags.IsEmpty); }