Scripting 3D cube image

Hi

I have a question regarding the tutorial about scripting 3D in flash, with the cube.
Been trying put an image on each side of the cube, however with no succes.
I use BitmapData to draw the image.
Here’s my code:


drawFilledSquare = function(a,b,c,d){
	this.clear();
	this.lineStyle(0,0,0);
	if (isVisibleBetween(a,b,c)){
		var fill:BitmapData = BitmapData.loadBitmap("dardar");
		this.beginBitmapFill(fill);
		this.moveTo(a.x, a.y);
		this.lineTo(b.x, b.y);
		this.lineTo(c.x, c.y);
		this.lineTo(d.x, d.y);
		this.lineTo(a.x, a.y);
		this.endFill();
	}
};

I’m a newbie in Flash, but have some programming experience in java, .net, php,… but not actionscript.
Maybe it just isn’t possible?
Someone who wants to help me?

thx!