# Tracing issues using SDK and some misc bugs

**URL:** <https://forum.kirupa.com/t/tracing-issues-using-sdk-and-some-misc-bugs/232607>\
**Category:** Uncategorized\
**Created:** [July 16, 2007, 12:00pm UTC](https://forum.kirupa.com/t/tracing-issues-using-sdk-and-some-misc-bugs/232607 "2007-07-16T12:00:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raziel](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@Raziel](https://forum.kirupa.com/u/Raziel)\
**Post date:** [July 16, 2007, 12:00pm UTC](https://forum.kirupa.com/t/tracing-issues-using-sdk-and-some-misc-bugs/232607/1 "2007-07-16T12:00:15Z")

</div>

Hi,

I’m trying to connect to a socket server. The socket server get’s the connection just fine but all the other things i put into the code don’t seem to render out usin the SDK.

```auto
// ActionScript file
package {
	import flash.display.Sprite;
	import flash.events.*;
	import flash.net.Socket;
	import flash.text.TextField;
		
	public class Connect extends Sprite {
		
		[SWF(width="500", height="500", backgroundColor="0xffffff", frameRate="25")]
				
		private var socket:Socket;
		
		public function Connect() {
			socket = new Socket()
			socket.addEventListener(Event.CONNECT, onConnect);
			socket.connect("www.glig.com", 20000);
			}
		private function onConnect(event:Event):void {
			var field:TextField = new TextField();
			field.width = 400;
			field.height = 400;
			field.y = stage.stageWidth /2;
			field.x = stage.stageHeight /2;
			addChild(field);
			field.text = "The socket is connected";
			trace("woot, connected");
		}
	}
}

```

Tried to generate a textField where the text for the connection would end up but it doesn’t seem to render, neither does the SDK render out the white background.  
Also trace(); doesn’t get traced out when i use the debugger from flash. I set the variables and such for the mm.cfg properly but it doesn’t seem to render out a log.

Any suggestions are appreciated.
