A Flash Developer Resource Site

Results 1 to 1 of 1

Thread: [RESOLVED] could not resolve <mx:AdvancedDataGrid> to a component implimentation

  1. #1
    Member
    Join Date
    Oct 2009
    Location
    New England
    Posts
    79

    resolved [RESOLVED] could not resolve <mx:AdvancedDataGrid> to a component implimentation

    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>
    Last edited by hjguerin; 09-26-2010 at 12:44 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center