im trying to get this facebook application to work but i keep getting this error: could not resolve <mx:AdvancedDataGrid> to a component implimentation
it seems that the namespaces are in order...maybe?
Actionscript Code:
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo" width="100%"
height="100%" currentState="CONNECTING">
/**
* Friends details request handler
*/
protected function onGetFriendsInfo(event:FacebookEvent):void
{
userFriends = new ArrayCollection((event.data as GetInfoData).userCollection.source);
}
]]>
</fx:Script>
<s:states>
<s:State name="CONNECTING"/>
<s:State name="CONNECTED" />
</s:states>
<mx:ProgressBar includeIn="CONNECTING" label="Connecting..."
indeterminate="true" labelPlacement="center"
horizontalCenter="0" verticalCenter="0"/>
<s:Label text="Hello {user.first_name}!" horizontalCenter="0"
verticalCenter="-100" fontSize="29" includeIn="CONNECTED"/>
<mx:AdvancedDataGrid id="adgFriends" dataProvider="{userFriends}"
designViewDataType="flat" horizontalCenter="0"
verticalCenter="19" includeIn="CONNECTED">
<mx:columns>
<mx:AdvancedDataGridColumn headerText="Name"
dataField="first_name"/>
<mx:AdvancedDataGridColumn headerText="Last Name"
dataField="last_name"/>
</mx:columns>
</mx:AdvancedDataGrid>
<mx:LinkButton label="Get AIR (desktop) version..." horizontalCenter="0"
verticalCenter="150" color="#ABA5A5" fontWeight="bold"
textDecoration="underline" fontSize="14"
click="navigateToURL(new URLRequest('http://www.riaspace.net/'))"/>
</s:Group>