private int decodeClipEventFlags(SwfDecoder r) { int flags; if (r.swfVersion >= 6) { flags = (int)r.readUI32(); } else { flags = r.readUI16(); } return(flags); }
private int decodeClipEventFlags(SwfDecoder r) { int flags; if (r.swfVersion >= 6) flags = (int) r.readUI32(); else flags = r.readUI16(); return flags; }
public virtual ClipActions decodeClipActions(int length) { ClipActions a = new ClipActions(); reader.readUI16(); // must be 0 a.allEventFlags = decodeClipEventFlags(reader); System.Collections.ArrayList list = new System.Collections.ArrayList(); ClipActionRecord record = decodeClipActionRecord(); while (record != null) { list.Add(record); record = decodeClipActionRecord(); } a.clipActionRecords = list; return(a); }