 				Math.ceil(boundsArray.h[0])
 			);
 
-			outfield.appendText("\nBounding box: " + bBox)
+			log("Bounding box: " + bBox)
 
 			outputWidth = bBox.width;
 			outputHeight = bBox.height;

		private function loadSwf():void {

			loader = new Loader();
			outfield.appendText("\nLoading " + inputFilePath);
			loader.load(new URLRequest("file://" + inputFilePath));
			loader.contentLoaderInfo.addEventListener(Event.INIT, startLoop);


			loadedSwf = MovieClip(ev.target.content);
			outputWidth = Math.ceil(ev.target.width);
			outputHeight = Math.ceil(ev.target.height);
			log("Loaded!");
			totalFrames = loadedSwf.totalFrames;
			log("Frame count: " + totalFrames);

			calculateBBox();

