     raw = @thangType.get('raw')
     animData = raw.animations[animationName]
     @lastAnimData = animData
-    movieClip = new createjs.MovieClip()
 
     locals = {}
     _.extend locals, @buildMovieClipContainers(animData.containers)

        else 
          @currentFrame = 0

      @baseMovieClip.gotoAndStop(@currentFrame)
      movieClip.gotoAndStop(@currentFrame) for movieClip in @childMovieClips
      @takeChildrenFromMovieClip()
      @loop = action.loops isnt false
      @goesTo = action.goesTo
      @notifyActionNeedsRender(action) if @actionNotSupported

SpriteBuilder = require 'lib/sprites/SpriteBuilder'

# Put this on MovieClips
specialGoToAndStop = (frame) ->
  if frame is @currentFrame and @childrenCopy
    @addChild(@childrenCopy...)
  else
    @gotoAndStop(frame)
    @childrenCopy = @children.slice(0)

module.exports = class SegmentedSprite extends createjs.SpriteContainer
  childMovieClips: null
