Recurity.Swf.AVM1.ActionGotoFrame2.ParseFrom C# (CSharp) Method

ParseFrom() protected method

Parses the action from a string array
protected ParseFrom ( ) : bool
return bool
        protected override bool ParseFrom( params string[] token )
        {
            for ( int i = 0; i < token.Length; i++ )
            {
                if ( token[ i ].Contains( "SceneBias:" ) )
                {
                    string num = token[ i ].Substring( token[ i ].IndexOf( ":" ) + 1 );
                    _sceneBias = true;
                    _sceneBiasAmount = UInt16.Parse( num );
                }
                else if ( token[ i ].Equals( "Play", StringComparison.InvariantCulture ) )
                {
                    _play = true;
                }
                else
                {
                    return false;
                }
            }
            return true;
        }