as2 in CS5: xml problem

trying to do this with as2 in CS5:

var xml:XML = new XML();
xml.ignoreWhite=true;


xml.onLoad=function(success)
{

if(success)
{
	
	trace("loaded!");
	trace("xml: "+xml.firstChild.firstChild.childNodes);
}
	
}

xml.load("slides.xml");

seems to be good as2 code… what’s up with cs5? does it have full support for as2 “as installed” or do i need to point it at an AS2 library or something?