/// <summary> /// Parses this object out of a stream /// </summary> /// <param name="input">The input stream.</param> /// <param name="colorTableSize"></param> /// <param name="imageDataSize"></param> public override void Parse( Stream input, byte colorTableSize, UInt32 imageDataSize ) { Rgba temp = null; for (int i = 0; i <= colorTableSize; i++) // BitmapColorTableSize + 1. { temp = new Rgba( this._SwfVersion ); temp.Parse( input ); this._colorTableRGB.Add(temp); } this._colormapPixelData = new byte[(Int32)imageDataSize]; int read = input.Read( this._colormapPixelData, 0, (Int32)imageDataSize ); }