public ClipActions(SwfReader r, bool isSwf6Plus) { r.GetUI16(); // reserved ClipEvents = (ClipEvents)r.GetBits(32); ClipActionRecords = new List<ClipActionRecord>(); bool hasMoreRecords = true; while (hasMoreRecords) { ClipActionRecord car = new ClipActionRecord(r, isSwf6Plus); ClipActionRecords.Add(car); if ((uint)car.ClipEvents == 0) { hasMoreRecords = false; } } }
public ClipActions(SwfReader r, bool isSwf6Plus) { r.GetUI16(); // reserved ClipEvents = (ClipEvents)r.GetBits(32); ClipActionRecords = new List <ClipActionRecord>(); bool hasMoreRecords = true; while (hasMoreRecords) { ClipActionRecord car = new ClipActionRecord(r, isSwf6Plus); ClipActionRecords.Add(car); if ((uint)car.ClipEvents == 0) { hasMoreRecords = false; } } }