       $(e.target).toggleClass('selected')
       @updateColorGroup()
     @$el.find('#shape-buttons').replaceWith(buttons)
-    console.log 'making buttons'
     @buttons = buttons
 
   tryToBuild: ->

    @stage.removeChild(@movieClip) if @movieClip
    options = {colorConfig: {}}
    options.colorConfig[@currentColorGroupTreema.keyForParent] = @colorConfig
    console.log 'options are', options
    @spriteBuilder.setOptions options
    @spriteBuilder.buildColorMaps()
    @movieClip = @spriteBuilder.buildMovieClip animation

      continue unless shape.fc?
      colors[shape.fc] = true if shapes[key]
    
    @buttons.find('button').removeClass('selected')
    @buttons.find('button').each (i, button) ->
      $(button).addClass('selected') if colors[$(button).val()]
