Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
		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);
		}