encodeClipEventFlags(clipActions.allEventFlags, writer);
Iterator it = clipActions.clipActionRecords.iterator();
while (it.hasNext())
{
ClipActionRecord r = (ClipActionRecord) it.next();
encodeClipActionRecord(r);
}
if (writer.swfVersion >= 6)
writer.write32(0);