3D problem

ok so iv recently been trying to make a photo gallery that takes in photos from an XML file and then spits them out into random spots in 3D space, but for some reason CS4 will not show my 3D motion. i have tryed using the flash player 10 packaged with CS4 and my flash player 10 for firefox and neither of them show anything on the stage when i have 3D code.

Heres my code:

package
{
	import caurina.transitions.*;
	import flash.display.Loader;
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.events.MouseEvent;
	import flash.net.URLLoader;
	import flash.net.URLRequest;
	import flash.display.MovieClip;

	public class DocumentClass extends MovieClip
	{
		private var xmlLoader:URLLoader = new URLLoader();
		private var xml:XML;
		public function DocumentClass():void
		{
			xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
			xmlLoader.load(new URLRequest("pic.xml"));
		}
		private function zoomPic(e:MouseEvent):void
		{
			Tweener.addTween(e.target, {width:stage.stageWidth/2,time:1});
			Tweener.addTween(e.target, {scaleY:e.target.scaleX,time:1});
			Tweener.addTween(e.target, {rotationY:0,time:1});
			Tweener.addTween(e.target, {rotationX:0,time:1});
			Tweener.addTween(e.target, {rotationZ:0,time:1});
			Tweener.addTween(e.target, {z:0,time:1});
			Tweener.addTween(e.target, {x:stage.stageWidth/2-e.target.width/2,time:1});
			Tweener.addTween(e.target, {x:stage.stageHeight/2-e.target.height/2,time:1});
		}
		private function xmlLoaded(e:Event):void
		{
			xml = XML(e.target.data);
			for(var i:int=0;i<xml.pic.length();i++)
			{
				createPicture(xml.pic.source*,xml.pic.description*,xml.pic.link*);
			}
		}
		private function createPicture(source:String,des:String,link:String):void
		{
			var pictureLoader:Loader = new Loader();
			pictureLoader.load(new URLRequest(source));
			pictureLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, photoLoaded);
			trace(des + "
" + link + "
" + source);
			function photoLoaded(e:Event):void
			{
				var tempMC:MovieClip = new MovieClip();
				tempMC.addChild(pictureLoader);
				tempMC.width = stage.stageWidth/10;
				tempMC.scaleY = tempMC.scaleX;
				tempMC.x = Math.random()*stage.stageWidth;
				tempMC.y = Math.random()*stage.stageHeight;
				//tempMC.z = 0;
				//tempMC.rotationX = Math.random()*180;
				//tempMC.rotationY = Math.random()*180;
				//tempMC.rotationZ = Math.random()*180;
				stage.addChild(tempMC);
				tempMC.addEventListener(MouseEvent.CLICK, zoomPic);
			}		
		}
	}
}

That code works perfectly fine but when i uncomment any of these lines:

				tempMC.z = 0;
				tempMC.rotationX = Math.random()*180;
				tempMC.rotationY = Math.random()*180;
				tempMC.rotationZ = Math.random()*180;

the movie compiles fine but shows nothing on the stage, but it still runs i can see the output statements.

Iv tryed making another file that loads an external picture and displays it moved in 3D and that seems to work fine.