 
 package flump.export {
 
-import flash.display.BitmapData;
 import flash.utils.Dictionary;
 
 import flump.SwfTexture;

        }
        const xflMovie :MovieMold = _lib.getLibrary(name, MovieMold);
        var maxDrawn :int = 0;
        for (var ii :int = 0; ii < xflMovie.frames; ii++) {
            var drawn :int = 0;
            for each (var layer :LayerMold in xflMovie.layers) {
                var kf :KeyframeMold = layer.keyframeForFrame(ii);
                if (kf.visible) drawn += getMaxDrawn(kf.id);
            }
            maxDrawn = Math.max(maxDrawn, drawn);
        }

import starling.display.Image;
import starling.display.Sprite;
import starling.textures.Texture;

import com.threerings.util.Map;
import com.threerings.util.Maps;

public class DisplayCreator
{
