     public function Layer (movie :Movie, src :LayerMold, library :Library, flipbook :Boolean) {
         _keyframes = src.keyframes;
         _movie = movie;
+        _name = src.name;
 
         const lastKf :KeyframeMold = _keyframes[_keyframes.length - 1];
         _numFrames = lastKf.index + lastKf.duration;

            // Swap in the proper DisplayObject for this keyframe.
            const disp :DisplayObject = _displays[_keyframeIdx];
            if (_currentDisplay != disp) {
                _currentDisplay.visible = false;
                // If we're swapping in a Movie, reset its timeline.
                if (disp is Movie) {
                    Movie(disp).addedToLayer();
                }
                _currentDisplay = disp;
            }
        }
        _needsKeyframeUpdate = false;

        if (!flipbook && lastItem == null) {
            // The layer is empty.
            _currentDisplay = new Sprite();
            _currentDisplay.name = null;
            _movie.addChild(_currentDisplay);
        } else {
            // Create the display objects for each keyframe.
