Hi there, this may be a noob question. I have this part of XML:
<news>
<image src="…">
</news>
<about>
<image src="…">
</about>
and I have this function which passes the name of the section I would like to use (“news”, “about”, etc.):
public function LoadSlideshow(category:String) {
intSlideCount = configXML.(category).slide.length();
}
Since “category” is a variable, this statement doesn’t seem to work. Need some guidance, Thanks!