**RANT: IGNORE**
First off, I am extremely new to FlashCom scripting. The first thing i did however, was to swear (almost)never to use the netComponents. Components are like Americans, they just promote lethargy, they are narrow-minded, and they are way too fat for their own good. No offense to us Americans.
**RANT: IGNORE**


On to the nightmare. I am having some troubles setting and getting variables from a permanent SO on the server. At the moment I am just testing out the scripts, learning how to use them, and I am not understanding why they are not working

a snippit:
Code:
//main.asc
application.onAppStart = function()
{
	nc = new NetConnection();
	nc.connect("rtmp://localhost/so_test");
	so = SharedObject.get("foo", true, nc);
	so.setProperty("address", "655321 E Droog Dr.");
	so.setProperty("city", "Videywell");
	var names = so.getPropertyNames();
	for (x in names) {
		var propVal = so.getProperty(names[x]);
		trace("Value of property "+names[x]+" = "+propVal);
	}
};
And I end up with an error instead of my two values: line 10: TypeError: names has no properties

can someone out there see my error. In my mind(however entangled it is), I would assume that "names" has at least 2 properties, which i had set earlier.