/// <summary>
///
/// </summary>
/// <param name="input"></param>
public override void Parse( Stream input )
{
base.Parse( input );
_ColorTransform = new CxFormWithAlpha( this.Version );
_ColorTransform.Parse( input );
//Log.Debug(this, _ColorTransform.ToString() );
if ( _ButtonHasFilterList )
{
_FilterList = new FilterList( this.Version );
_FilterList.Parse( input );
}
if ( _ButtonHasBlendMode )
{
BinaryReader br = new BinaryReader( input );
_BlendMode = br.ReadByte();
if ( _BlendMode > 14 )
{
throw new SwfFormatException( "ButtonRecord2 BlendMode > 14" );
}
}
//Log.Debug(this, this.ToString() );
}