I have an xml
<presentation width="720" height="540" start="play" buildNum="6.0.432.432">
<slides>
<slide id="366" frameRate="30" totalFrames="150" advance="auto"
type="normal">
<content url="assets/slides/Slide1.swf"/>
<slideTitle>1.Adobe Connect Solutions</slideTitle>
<slideBackground index="1" frameToPlay="3" duration="00:10"
showAfterFrame="0"/>
<notes isHTML="true"></notes>
</slide>
<slide id="366" frameRate="30" totalFrames="150" advance="auto"
type="normal">
<content url="assets/slides/Slide2.swf"/>
<slideTitle>2.Online Communication Challenges</slideTitle>
<notes isHTML="true"></notes>
<slideBackground index="1" frameToPlay="3"
duration="00:20" showAfterFrame="0"/>
</slide>
</slides>
</presentation>
In a function I load it into a XMLList so that only the slides children get
loaded
var xmlLoader:URLLoader=URLLoader(evt.currentTarget);
var xmlData:XML=XML(xmlLoader.data);
_slides=new XMLList((xmlData.slides.children()));
And heres my Data grid
<mx:DataGrid width="100%" height="100%" dataProvider="{_slides}"
id="slideInfo_Dg"
resizableColumns="false" sortableColumns="false"
itemClick="changeSlide(event);">
<mx:columns>
<mx:DataGridColumn headerText="Slide Title"
dataField="slideTitle" width="150" fontSize="9" fontWeight="normal"/>
<mx:DataGridColumn headerText="Duration"
dataField="@duration" fontSize="9" fontWeight="normal"/>
</mx:columns>
</mx:DataGrid>
It loads the first column fine but the second column doesnt show up. I even
tried doing dataField="[EMAIL PROTECTED]"
thanks
cheers :)
firdosh