private void encodeClipActionRecord(ClipActionRecord r) { encodeClipEventFlags(r.eventFlags, writer); int pos = writer.Pos; writer.write32(0); // offset placeholder if ((r.eventFlags & ClipActionRecord.keyPress) != 0) { writer.writeUI8(r.keyCode); } encode(r.actionList); writer.write32at(pos, (writer.Pos - pos) - 4); }
public virtual void encodeClipActions(ClipActions clipActions) { writer.writeUI16(0); encodeClipEventFlags(clipActions.allEventFlags, writer); System.Collections.IEnumerator it = clipActions.clipActionRecords.GetEnumerator(); //UPGRADE_TODO: Method 'java.util.Iterator.hasNext' was converted to 'System.Collections.IEnumerator.MoveNext' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratorhasNext'" while (it.MoveNext()) { //UPGRADE_TODO: Method 'java.util.Iterator.next' was converted to 'System.Collections.IEnumerator.Current' which has a different behavior. "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javautilIteratornext'" ClipActionRecord r = (ClipActionRecord)it.Current; encodeClipActionRecord(r); } if (writer.swfVersion >= 6) { writer.write32(0); } else { writer.writeUI16(0); } }
private void encodeClipActionRecord(ClipActionRecord r) { encodeClipEventFlags(r.eventFlags, writer); int pos = writer.Pos; writer.write32(0); // offset placeholder if ((r.eventFlags & ClipActionRecord.keyPress) != 0) { writer.writeUI8(r.keyCode); } encode(r.actionList); writer.write32at(pos, (writer.Pos - pos) - 4); }