I'm new at blitting, so hopefully I explain this right.

I'm basically creating a project that takes a simple image, duplicates it, and sends it in a random direction. Now normally I can get this working, but I need to get the performance better so I am trying to do it with blitting.

Previously, I had a movieclip, and I added it to the stage as many times as I needed. And in the library, that movieclip was linked to a .as file that gave the movieclip it's random direction. And this worked fine.

So now on to my blitting. I have been following this tutorial for the most part:
http://www.adobe.com/devnet/flash/ar...itting_mc.html

And here is my code:
Code:
package 
{
	import flash.display.MovieClip;
	import flash.display.Bitmap;
	import flash.display.BitmapData; 
	import flash.geom.*;
	import flash.events.Event;

	public class myClass extends MovieClip
	{
		
		public var canvasBitmap:Bitmap;
		public var canvasBitmapData:BitmapData; 
		public var canvasRectangle:Rectangle = new Rectangle(0,0,550,400);
		
		public var circle:mcCircle;
		
		public function myClass():void{
			
			circle = new mcCircle();

			
			canvasBitmap = new Bitmap(); 
			canvasBitmapData = new BitmapData(550, 400); 
			canvasBitmapData.fillRect(canvasRectangle,0xFFDDDDDD) 
			canvasBitmap.bitmapData = canvasBitmapData; 
			canvasBitmap.x = 0; 
			canvasBitmap.y = 100; 
			addChild(canvasBitmap);
			
			
			addEventListener(Event.ENTER_FRAME, onEnterFrame);
			
			
		}
		
		
		public function onEnterFrame(evt:Event):void { 
		

		canvasBitmapData.fillRect(canvasRectangle, 0xFFDDDDDD);
		
	///first circle
			var cirlceBitmapData:BitmapData = new BitmapData(circle.width, circle.height); 
			cirlceBitmapData.draw(circle);
	
			var areaRectangle:Rectangle = new Rectangle(); 
			areaRectangle.width = star.width; 
			areaRectangle.height = star.height; 
			var destinationPoint:Point = new Point(circle.x, circle.y); 
			canvasBitmapData.copyPixels(cirlceBitmapData,areaRectangle,destinationPoint


////second circle
var cirlceBitmapData:BitmapData = new BitmapData(circle.width, circle.height); 
			cirlceBitmapData.draw(circle);
	
			var areaRectangle:Rectangle = new Rectangle(); 
			areaRectangle.width = star.width; 
			areaRectangle.height = star.height; 
			var destinationPoint:Point = new Point(circle.x, circle.y); 
			canvasBitmapData.copyPixels(cirlceBitmapData,areaRectangle,destinationPoint
);
			
		}
		
		
	}
}

I plan on cleaning up the code where it adds both circles, so please ignore that for now. So this works, and the new bitmaps both use the random .as file that is attached to my movieclip in the library. The problem is that they both go in the same exact direction. So I need to figure out how to attach the .as file to each individual instance of the bitmapdata so that they each go a different direction.

Hope that made sense!! And thanks for any help!