def dump(tag)
      data = tag.data
      @sprite_id = data[0, 2].unpack("v").first
      @frame_count = data[2, 2].unpack("v").first
      @tags = []
      @tags_addresses = []
      sprite_header_length = (tag.long_header) ? 6 : 2
      tag_index = 4
      while tag_index < data.length
        @tags_addresses << tag_index + sprite_header_length
        tag = Swf::Tag.new(data[tag_index..-1])
        tag_index += tag.length
        @tags << tag
      end
      self
    end
def dump(tag)
      data = tag.data
      @sprite_id = data[0, 2].unpack("v").first
      @frame_count = data[2, 2].unpack("v").first
      @tags = []
      @tags_addresses = []
      sprite_header_length = (tag.long_header) ? 6 : 2
      tag_index = 4
      while tag_index < data.length
        @tags_addresses << tag_index + sprite_header_length
        tag = Swf::Tag.new(data[tag_index..-1])
        tag_index += tag.length
        @tags << tag
      end
      self
    end
初期化.
 ダンプして構造をインスタンス変数に格納.