@Override public boolean onVisit (String parentLayer, Instance instance, int depth) { String instanceDesc; if (instance instanceof Movie) { instanceDesc = ((Movie) instance).symbol().name(); } else if (instance instanceof Texture) { ImageLayer tLayer = ((Texture) instance).layer(); instanceDesc = "Texture (" + tLayer.width() + " x " + tLayer.height() + ")"; if (tLayer.disposed()) instanceDesc += " (DISPOSED)"; } else if (instance != null) { instanceDesc = instance.toString(); } else { instanceDesc = "(null)"; } printChild(depth, parentLayer + ": " + instanceDesc); return false; } protected void printChild (int depth, String description) {