 						if(type == "set")
 						{
 							var id = node.ARGUMENT[1].@VALUE;
-							var x = Number(node.ARGUMENT[2].@VALUE) * thestage.stageWidth;
-							var y = Number(node.ARGUMENT[3].@VALUE) * thestage.stageHeight;
+							var x = Number(node.ARGUMENT[2].@VALUE) * stagewidth;
+							var y = Number(node.ARGUMENT[3].@VALUE) * stageheight;
 							var X = Number(node.ARGUMENT[4].@VALUE);
 							var Y = Number(node.ARGUMENT[5].@VALUE);
 							var m = node.ARGUMENT[6].@VALUE;

		static var xmlPlaybackURL:String = ""; 
		static var xmlPlaybackLoader:URLLoader;
		static var playbackXML:XML;
			
		static var bInitialized = false;



			debugMode = dbug;
			
			bInitialized = true;
			stagewidth = s.stage.stageWidth;
			stageheight = s.stage.stageHeight;
			//stagewidth = 1024;
			//stageheight = 786;
			thestage = s;
			objectArray = new Array();
			idArray = new Array();
